mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Using JSON feed external url if available.
This commit is contained in:
parent
a1176588d8
commit
8d14dcf008
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class JSONFetcher:
|
|||
date_published = dateutil.parser.parse(pubdate)
|
||||
story = {
|
||||
'title': item.get('title', None),
|
||||
'link': item.get('url', None),
|
||||
'link': item.get('external_url', item.get('url', None)),
|
||||
'description': item.get('content_html', item.get('content_text', None)),
|
||||
'author_name': item.get('author', {}).get('name', None),
|
||||
'categories': item.get('tags', []),
|
||||
|
|
Loading…
Add table
Reference in a new issue