diff options
Diffstat (limited to 'gallery_dl/oauth.py')
| -rw-r--r-- | gallery_dl/oauth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/oauth.py b/gallery_dl/oauth.py index 58126ac..8a12755 100644 --- a/gallery_dl/oauth.py +++ b/gallery_dl/oauth.py @@ -126,7 +126,7 @@ class OAuth1API(): self.session = extractor.session self.api_key = api_key - def request(self, url, method="GET", *, expect=range(400, 500), **kwargs): - kwargs["expect"] = expect + def request(self, url, method="GET", **kwargs): + kwargs["fatal"] = False kwargs["session"] = self.session return self.extractor.request(url, method, **kwargs) |
