mirror of
https://codeberg.org/wownero/wowlet-backend.git
synced 2026-10-17 05:51:45 +02:00
Reddit: add permalink
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user