mirror of
https://git.wownero.com/wowlet/wowlet-backend.git
synced 2024-08-15 01:03:13 +00:00
Reddit: add permalink
This commit is contained in:
parent
d127825a70
commit
f4aa1227ea
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ class RedditTask(FeatherTask):
|
|||
blob = [{
|
||||
'title': z['data']['title'],
|
||||
'author': z['data']['author'],
|
||||
'url': "https://old.reddit.com" + z['data']['permalink'],
|
||||
'url': "https://old.reddit.com" + z['data']['permalink'], # legacy
|
||||
'permalink': z['data']['permalink'],
|
||||
'comments': z['data']['num_comments']
|
||||
} for z in blob['data']['children']]
|
||||
if not blob:
|
||||
|
|
Loading…
Reference in a new issue