注意:本项目源代码目前只托管在 Github 平台,该平台的logo是一只“直立着、有一只触手的章鱼猫”,若您在其他地方看到本项目,请勿相信。
gggggggggggggggggggggggggggggggggggggggggggggggpppbbbbbbbbbbbbbbbpppggggggggggggggggggggggggggggggggggggggggggggggg
ggggggggggggggggggggggggggggggggggggggpbmhb7 77hhbbpgggggggggggggggggggggggggggggggggggggg
ggggggggggggggggggggggggggggggggpbh7 77hbpgggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggpph7 7hpgggggggggggggggggggggggggggg
gggggggggggggggggggggggpph 7hpgggggggggggggggggggggggg
ggggggggggggggggggggpmb hbggggggggggggggggggggg
gggggggggggggggggppb hpgggggggggggggggggg
gggggggggggggggpb hgggggggggggggggg
gggggggggggggpb hpggggggggggggg
gggggggggggpm 7pggggggggggg
gggggggggpb ggggggggggg gggggggggg hgggggggggg
ggggggggm ggggggggggggggg ggggggggggggggggggg ggggggggggggggg bgggggggg
ggggggpm gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg 7ggggggg
gggggm gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg gggggg
ggggm ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg qgggg
gggm ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggp qggg
ggm ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg ggg
gp gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg 7gg
g ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg jg
p gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg g
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg g
m ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg 7
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggm
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
iggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg g
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggp g
g 7gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggm g
g 7ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggpm gg
gg bgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggm ggg
ggg bpgggggggggggggggggggggggggggggggggggggggggggggggggggggggggpm ggg
gggg 7bpgggggggggggggggggggggggggggggggggggggggggggggggggggpmb gggg
ggggg ggggggg 7hbppgggggggggggggggggggggggggggggggggggggggppbh7 ggggg
gggggg 7bgggggggg 77hhhbbpgggggggggggggggggggggpbbhhb7 gggggg
ggggggg 7bggggggg ggggggggggggggggggggggggg gggggggg
ggggggggg bggggggg ggggggggggggggggggggggggggg ggggggggg
ggggggggggg 7ggggggggg gggggggggggggggggggggggggggggg ggggggggggg
gggggggggggg 7gggggggggggggggggggggggggggggggggggggggggggggggg ggggggggggggg
ggggggggggggggg bgggggggggggggggggggggggggggggggggggggggggggggg ggggggggggggggg
gggggggggggggggggggggggggggggggggggg gggggggggggggggggggggggggggggg ggggggggggggggggggggggggggggggggggggg
_______ __ .___________. __ __ __ __ .______
/ _____|| | | || | | | | | | | | _
| | __ | | `---| |----`| |__| | | | | | | |_) |
| | |_ | | | | | | __ | | | | | | _ <
| |__| | | | | | | | | | | `--' | | |_) |
______| |__| |__| |__| |__| ______/ |______/
通过命令行使用 执行命令:本程序可执行文件 [url] [filepath] [--image]
url
tautanfilepath
makedown aplikasi makedown, aplikasi makedown, dan aplikasi makedown名保存在该目录下;若以.md
结尾,则以输入的文件名作为文件名保存; ./
为保存到当前目录--image
可选参数,文章内图片的保存方式,格式为--image=xxx
, xxx
为参数值,有三个可供选择(默认值为base64):url
图片引用原src值,它通常在网络上(不推荐,微信哪天把它ban掉就寄了);save
file penyimpanan data, server web, server web, server web, server web, server web zip, layanan penurunan harga, dan server web zip.base64
图片编码成base64字符串放在markdown文件内contoh:windows环境,想把url为https://mp.weixin.qq.com/s/a=1&b=2
的文章(假设文章标题为"gitcode操你妈")转成markdown存到D:wechatmp_bak
下,文章内的图片保存到本地
contoh cmd:
wechatmp2makrdown_win64.exe https://mp.weixin.qq.com/s/a=1&b=2 D:wechatmp_bak --image=save
penurunan harga foto D:wechatmp_bakgitcode操你妈
下
Panduan Pengguna Windows(双引号)、*(星号)、<(小于)、>(大于)、?(问号)、(反斜杠)、/(正斜杠)、|(竖线)、:(冒号)。当标题包含以上字符Unicode 字符进行替换,具体替换规则为:
"<" -> "≺" ">" -> "≻" ":" -> "∶" """ -> "“" "/" -> "∕" "" -> "∖" "|" -> "∣" "?" -> "?" "*" -> "⁎"
chmod +xw wechatmp2markdown-v1.1.9_linux_amd64
通过web服务使用
本程序可执行文件 server [port]
port
当看到wechatmp2markdown server listening on :[port]
时, 打开浏览器(或curl工具)访问: localhost:[port]?url=[url]&image=[image]
url
tautanimage
, sistem operasi gambar, sistem operasi CLI, sistem operasi CLI, dan sistem operasi CLI返回的数据即为该文章的markdown文件(若image=save,则返回的是zip格式的压缩包)
contoh:windows环境,服务启动并监听8964端口,想把url为https://mp.weixin.qq.com/s/a=1&b=2
的文章转成markdown并下载,文章内的图片保存到本地
wechatmp2makrdown_win64.exe server 8964
Alamat: localhost:8964?url=https://mp.weixin.qq.com/s/a=1&b=2&image=save
, 将返回一个zip文件
sistem server linux, server web, server web, sistem operasi:
chmod +x wechatmp2markdown-v1.1.9_linux_amd64
berangkat 1.20
# 编译目标平台: linux
make build-linux
# 编译目标平台: mac
make build-osx
# 编译目标平台: windows 64位
make build-win64
# 编译目标平台: windows 32位
make build-win32
需gcc,推荐安装tdm64-gcc, mingw64/bin
加入系统环境变量
# 编译目标平台: linux
mingw32-make win-build-linux
# 编译目标平台: mac
mingw32-make win-build-osx
# 编译目标平台: windows 64位
mingw32-make win-build-win64
# 编译目标平台: windows 32位
mingw32-make win-build-win32
(没装gcc也无妨,去Makefile找对应的命令执行)
编译好的文件在./build
目录下
抓紧时间窗口。努力记录。黑暗中记得光的模样。