diff options
| author | 2019-07-20 05:51:44 -0400 | |
|---|---|---|
| committer | 2019-07-20 05:51:44 -0400 | |
| commit | 2a63a9c9b7032a76894c48ac4d9cea732fcaee49 (patch) | |
| tree | 3d5f633ff69cd393036a3dabc4d4533c8484f9ad /gallery_dl/oauth.py | |
| parent | 195c45911e79c33cf0bb986721365fb06df5a153 (diff) | |
New upstream version 1.9.0upstream/1.9.0
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) |
