mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-17 15:09:31 +00:00
infoq topic pub time
This commit is contained in:
@@ -9,6 +9,7 @@ def parse(post):
|
|||||||
item['title'] = post['article_title']
|
item['title'] = post['article_title']
|
||||||
item['description'] = f"{post['article_summary']}<br><img referrerpolicy='no-referrer' src={post.get('article_cover')}>"
|
item['description'] = f"{post['article_summary']}<br><img referrerpolicy='no-referrer' src={post.get('article_cover')}>"
|
||||||
item['link'] = f"{domain}/article/{post['uuid']}"
|
item['link'] = f"{domain}/article/{post['uuid']}"
|
||||||
|
item['pubDate'] = post['publish_time']
|
||||||
return item
|
return item
|
||||||
|
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ def ctx(category=''):
|
|||||||
|
|
||||||
posts = json.loads(posts.text)['data']
|
posts = json.loads(posts.text)['data']
|
||||||
return {
|
return {
|
||||||
'title': f'{category} - topic - infoq',
|
'title': f'{category} - Topic - InfoQ',
|
||||||
'link': referer,
|
'link': referer,
|
||||||
'description': 'InfoQ - 促进软件开发领域知识与创新的传播',
|
'description': 'InfoQ - 促进软件开发领域知识与创新的传播',
|
||||||
'author': 'hillerliao',
|
'author': 'hillerliao',
|
||||||
|
|||||||
Reference in New Issue
Block a user