更新了说明

This commit is contained in:
LeLe 2019-08-15 19:27:08 +08:00
parent 00ca379550
commit 7b0f68c08c
2 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,8 @@
github在国内访问有时很缓慢特别是图片我把本说明文档同步放到了我的[个人博客](https://www.xiaokuake.com/p/?p=1102&preview=true)
项目中用到的wkhtmltopdf如果从github下载慢也可以[点此下载](http://www.xiaokuake.com/p/wp-content/uploads/2019/08/2019080810033092.rar)后把wkhtmltopdf复制到本项目的目录下。
本项目的最新文章会发在公众号“不止技术流”中,欢迎关注。
![avatar](https://www.xiaokuake.com/p/wp-content/uploads/2019/08/2019081511223334.jpeg)
QQ交流群 703431832 加群暗号"不止技术流"
# 使用步骤:
@ -59,7 +60,9 @@ Fiddler中显示了我们需要的请求
## 补充
想直接付费使用全功能版及其他公众号相关功能定制的可直达 [https://www.xiaokuake.com](https://www.xiaokuake.com) 软件有免费试用,或添加作者微信 kakaLongcn
我还开发了一个全功能版,集成了数据分析功能,可免费试用 [https://www.xiaokuake.com](https://www.xiaokuake.com?id=github)
作者微信 kakaLongcn 有其他公众号相关功能/爬虫定制需求的可一起讨论
本开源项目仅用于技术学习交流,请勿用于非法用途,由此引起的后果本作者概不负责。

View File

@ -227,14 +227,13 @@ def PDFOne(htmlpath,pdfpath,skipExists=True,removehtml=True):
if removehtml:
os.remove(htmlpath)
"""
先去config.json文件设置
jsonDirFiddler生成的文件
htmlDir保存html的目录路径中不能有空格
pdfDir保存pdf的目录路径中不能有空格
"""
if __name__ == "__main__":
if len(sys.argv)==1:
arg = None