summaryrefslogtreecommitdiffstats
path: root/gallery_dl/oauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/oauth.py')
-rw-r--r--gallery_dl/oauth.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/oauth.py b/gallery_dl/oauth.py
index 69ab4f6..3093a72 100644
--- a/gallery_dl/oauth.py
+++ b/gallery_dl/oauth.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2018 Mike Fährmann
+# Copyright 2018-2019 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -126,7 +126,7 @@ class OAuth1API():
self.session = extractor.session
self.api_key = api_key
- def request(self, url, method="GET", **kwargs):
+ def request(self, url, **kwargs):
kwargs["fatal"] = None
kwargs["session"] = self.session
- return self.extractor.request(url, method, **kwargs)
+ return self.extractor.request(url, **kwargs)