From 803d8f814e91ac6a650af9c01f7a58fbe17c4250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 27 Sep 2019 17:38:55 +0200 Subject: [PATCH] [oauth] update scope for reddit tokens (#428) '/user//...' requires the 'history' scope to be accessible (https://www.reddit.com/dev/api/#GET_user_{username}_{where}) --- gallery_dl/extractor/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/oauth.py b/gallery_dl/extractor/oauth.py index e26eae18..6c6dd0ae 100644 --- a/gallery_dl/extractor/oauth.py +++ b/gallery_dl/extractor/oauth.py @@ -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", )