Merge pull request 'Reddit: fix extra /' (#1) from url_fix into master

Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/1
This commit is contained in:
dsc 2020-10-04 12:54:03 +00:00
commit fd98c9df82

View file

@ -270,7 +270,7 @@ class FeatherApi:
blob = [{ blob = [{
'title': z['data']['title'], 'title': z['data']['title'],
'author': z['data']['author'], 'author': z['data']['author'],
'url': "https://old.reddit.com/" + z['data']['permalink'], 'url': "https://old.reddit.com" + z['data']['permalink'],
'comments': z['data']['num_comments'] 'comments': z['data']['num_comments']
} for z in blob['data']['children']] } for z in blob['data']['children']]