Skip to content

Commit dd92fd2

Browse files
committed
refactor(economist): 调整世界简报链接生成规则以支持更长标题
1 parent 7d8b69a commit dd92fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsshub/spiders/economist/worldbrief.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def parse_news(gobbet):
2424
item = {
2525
'title': title,
2626
'description': gobbet, # 简单设置正文为描述
27-
'link': f"{domain}/the-world-in-brief?from={title[:50]}" # 生成链接
27+
'link': f"{domain}/the-world-in-brief?from={title[:100]}" # 生成链接
2828
}
2929
return item
3030

0 commit comments

Comments
 (0)