diff --git a/docs/configuration.rst b/docs/configuration.rst index 39b024ed..49205791 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1053,8 +1053,8 @@ Description or whenever your `cache file `__ is deleted or cleared. -extractor.deviantart.watch --------------------------- +extractor.deviantart.auto-watch +------------------------------- Type ``bool`` Default diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index a6b9feb1..21270d95 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -326,7 +326,7 @@ class DeviantartExtractor(Extractor): folder = dev["premium_folder_data"] if not has_access and folder["type"] == "watchers" and \ - self.config("watch"): + self.config("auto-watch"): if self.api.user_friends_watch(username): has_access = True self.log.info( diff --git a/gallery_dl/extractor/oauth.py b/gallery_dl/extractor/oauth.py index bac92a1a..4dc1e432 100644 --- a/gallery_dl/extractor/oauth.py +++ b/gallery_dl/extractor/oauth.py @@ -220,7 +220,7 @@ class OAuthDeviantart(OAuthBase): "client-secret", deviantart.DeviantartOAuthAPI.CLIENT_SECRET), "https://www.deviantart.com/oauth2/authorize", "https://www.deviantart.com/oauth2/token", - scope="browse", + scope="browse user.manage", cache=deviantart._refresh_token_cache, )