加入分页,逆序排列帖子
This commit is contained in:
@@ -84,7 +84,7 @@ def fetch_and_create_pdf(url):
|
|||||||
|
|
||||||
normal_style = styles['Normal']
|
normal_style = styles['Normal']
|
||||||
normal_style.fontName = 'SimHei'
|
normal_style.fontName = 'SimHei'
|
||||||
normal_style.fontSize = 13
|
normal_style.fontSize = 14
|
||||||
|
|
||||||
content = []
|
content = []
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ def fetch_and_create_pdf(url):
|
|||||||
if magnet_links:
|
if magnet_links:
|
||||||
for magnet_link in magnet_links:
|
for magnet_link in magnet_links:
|
||||||
content.append(Paragraph(f"<br /><b>{magnet_link}</b><br />", normal_style))
|
content.append(Paragraph(f"<br /><b>{magnet_link}</b><br />", normal_style))
|
||||||
content.append(Spacer(1, 5))
|
content.append(Spacer(1, 12))
|
||||||
|
|
||||||
# 添加图片
|
# 添加图片
|
||||||
image_links = []
|
image_links = []
|
||||||
|
|||||||
Reference in New Issue
Block a user