注意:本项目源代码目前只托管在 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
微信公告文章网页のurlfilepath
makedown 文件の保存位置,若この値は目录,文件文として名保存在该目录下;若以.md
结尾,以及入力的文件傑作是文件名保存; ./
保存するために現在の目录--image
オプション、文章内の画像の保存形式、形式は--image=xxx
、 xxx
パラメータ値で、使用可能なオプションが 3 つあります(base64 です):url
画像引用原src值、它通常网络上(不推荐、微信哪天握它禁止掉就寄了);save
画像は、マークダウンと同じアイテム内に存在し、Web サーバー モードで、zip 形式でダウンロードされます。base64
画像コード化base64文字列を配置例:windows環境、想像urlはhttps://mp.weixin.qq.com/s/a=1&b=2
の文章(假)文章标题は"gitcode操你妈")转成マークダウン保存D:wechatmp_bak
下,文章内の画像は本地に保存
実行コマンド:
wechatmp2makrdown_win64.exe https://mp.weixin.qq.com/s/a=1&b=2 D:wechatmp_bak --image=save
マークダウンと画像ファイルD:wechatmp_bakgitcode操你妈
下に保存されます
Windows 環境下、文書または経路名には以下の文字を含めることはできません:「(双引号)、*(星号)、<(小)、>(大より)、?(问号)、(反斜杠)、/(正斜杠)、|(竖線)、:(冒険号)。当标题には以上の文字が含まれていますその際、このプログラムでは類似の Unicode 文字を使用して置換を行います。具体的な置換例は次のとおりです。
"<" -> "≺" ">" -> "≻" ":" -> "∶" """ -> "“" "/" -> "∕" "" -> "∖" "|" -> "∣" "?" -> "?" "*" -> "⁎"
chmod +xw wechatmp2markdown-v1.1.9_linux_amd64
ウェブサービス経由での利用
実行コマンド:本程序可执行文件 server [port]
port
监听のポートwechatmp2markdown server listening on :[port]
たとき、打开浏览器(またはcurlツール)访问: localhost:[port]?url=[url]&image=[image]
url
微信公告文章网页のurlimage
パラメータは選択可能、文章内の画像の保存形式、パラメータ値は上文の CLI モードと同じ返されるデータ、つまりこの文章のマークダウン文書(若画像=保存、返されるのは zip 形式の圧縮パケット)
例:windows環境、サービス务启动并监听8964端末、想ハンドルurlはhttps://mp.weixin.qq.com/s/a=1&b=2
の文章をマークダウンしてダウンロードし、文章内の画像を本地に保存
cmd実行: wechatmp2makrdown_win64.exe server 8964
浏览器访问: localhost:8964?url=https://mp.weixin.qq.com/s/a=1&b=2&image=save
、一个zipファイルを返します
Linux 環境では、Web サーバー モードを使用し、プログラムが実行可能な制限を与える必要があります。例:
chmod +x wechatmp2markdown-v1.1.9_linux_amd64
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
目录下
暗い中で光のモデルを観察した。