Skip to content

ScriptKid-Beta/Wechat_Articles_Spider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

微信公众号文章爬虫并生成PDF+HTML

使用

安装wkhtmltopdf:

下载wkhtmltopdf:https://wkhtmltopdf.org/downloads.html

image-20200404180406270

将下载好的wkhtmltox-0.12.5-1.mxe-cross-win64 文件解压缩并放到跟程序同一个目录,如图:

image-20200404184015589

安装chromedriver:

#查看版本信息
浏览器中输入:chrome://version/ 

chromedriver的版本一定要与Chrome的版本一致,不然可能就不起作用。

下载链接:

https://npm.taobao.org/mirrors/chromedriver/

http://chromedriver.storage.googleapis.com/index.html

下载好放在跟程序同一目录下即可。

image-20200404183023403

双击打开wechat_pdf.exe程序运行。

image-20200404191021202

效果

image-20200404190937280

https://scriptkid-beta.github.io/2020/04/04/%E5%85%AC%E4%BC%97%E5%8F%B7%E6%96%87%E7%AB%A0%E7%88%AC%E8%99%AB%E5%B9%B6%E7%94%9F%E6%88%90PDF+HTML/#more

About

微信公众号文章爬虫

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published