mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-16 15:09:28 +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'] = post.css('div.e18qdnq10').get()
|
||||||
item['title'] = re.sub(r'<[^>]*>', '', item['title']).strip()
|
item['title'] = re.sub(r'<[^>]*>', '', item['title']).strip()
|
||||||
item['description'] = item['title']
|
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
|
return item
|
||||||
|
|
||||||
def ctx(category=''):
|
def ctx(category=''):
|
||||||
|
|||||||
Reference in New Issue
Block a user