mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-06-13 07:26:45 +00:00
refactor(economist): 调整世界简报链接生成规则以支持更长标题
This commit is contained in:
@@ -24,7 +24,7 @@ def parse_news(gobbet):
|
||||
item = {
|
||||
'title': title,
|
||||
'description': gobbet, # 简单设置正文为描述
|
||||
'link': f"{domain}/the-world-in-brief?from={title[:50]}" # 生成链接
|
||||
'link': f"{domain}/the-world-in-brief?from={title[:100]}" # 生成链接
|
||||
}
|
||||
return item
|
||||
|
||||
|
||||
Reference in New Issue
Block a user