加入分页,逆序排列帖子

This commit is contained in:
liuwei
2025-03-03 15:45:43 +08:00
parent b003d605c7
commit d37d46bbc3

View File

@@ -84,7 +84,7 @@ def fetch_and_create_pdf(url):
normal_style = styles['Normal']
normal_style.fontName = 'SimHei'
normal_style.fontSize = 13
normal_style.fontSize = 14
content = []
@@ -130,7 +130,7 @@ def fetch_and_create_pdf(url):
if magnet_links:
for magnet_link in magnet_links:
content.append(Paragraph(f"<br /><b>{magnet_link}</b><br />", normal_style))
content.append(Spacer(1, 5))
content.append(Spacer(1, 12))
# 添加图片
image_links = []