mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 15:09:23 +00:00
optimize economist world brief item url
This commit is contained in:
@@ -9,7 +9,7 @@ def parse(post):
|
||||
item['title'] = post.css('div.e18qdnq10').get()
|
||||
item['title'] = re.sub(r'<[^>]*>', '', item['title']).strip()
|
||||
item['description'] = item['title']
|
||||
link = f"{domain}/the-world-in-brief"
|
||||
item['link'] = f"{domain}/the-world-in-brief" + '?from=' + item['title'][:30]
|
||||
return item
|
||||
|
||||
def ctx(category=''):
|
||||
|
||||
Reference in New Issue
Block a user