1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

[oauth] update scope for reddit tokens (#428)

'/user/<username>/...' requires the 'history' scope to be accessible
(https://www.reddit.com/dev/api/#GET_user_{username}_{where})
This commit is contained in:
Mike Fährmann 2019-09-27 17:38:55 +02:00
parent 46ba173ded
commit 803d8f814e
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -213,7 +213,7 @@ class OAuthReddit(OAuthBase):
"",
"https://www.reddit.com/api/v1/authorize",
"https://www.reddit.com/api/v1/access_token",
scope="read",
scope="read history",
)