Skip to content

使用python下载道客巴巴文件并自动合并为pdf

Notifications You must be signed in to change notification settings

PettterWang/doc88Download

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

doc88Download

修改点1

  • 设置http/https不使用系统代理
#23
result = requests.get(url, headers=header, proxies={"http": None, "https": None})

#130
result = requests.get(gif_url, proxies={"http": None, "https": None})

修改点2

  • 图片合并为pdf
#141
pdfbytes = imgdoc.convert_to_pdf()  # 使用图片创建单页的 PDF

#143
doc.insert_pdf(imgpdf)  # 将当前页插入文档

使用方法

  • 从url中获得p_code,运行doc88_repair.py,输入p_code即可。

image-20231115101203639

About

使用python下载道客巴巴文件并自动合并为pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%