You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup OAuth for Flickr, but I'm getting this error and my browser never opens up for me to authorize the app like the README says should happen. Possibly related to this issue with general Flickr downloads.
gallery-dl oauth:flickr --verbose
[gallery-dl][debug] Version 1.26.7
[gallery-dl][debug] Python 3.12.1 - Windows-11-10.0.22621-SP0
[gallery-dl][debug] requests 2.31.0 - urllib3 2.1.0
[gallery-dl][debug] Configuration Files ['%APPDATA%\\gallery-dl\\config.json']
[gallery-dl][debug] Starting DownloadJob for 'oauth:flickr'
[oauth][debug] Using OAuthFlickr for 'oauth:flickr'
[cookies][debug] Extracting cookies from C:\Users\me\AppData\Roaming\Mozilla\Firefox\Profiles\06r1gbwe.default-release-1702897032473\cookies.sqlite
[cookies][info] Extracted 1813 cookies from Firefox
[oauth][info] Using default flickr API key (f8f78d1a40debf471f0b22fa2d00525f)
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.flickr.com:443
[urllib3.connectionpool][debug] https://www.flickr.com:443 "GET /services/oauth/request_token?oauth_callback=https%3A%2F%2Fmikf.github.io%2Fgallery-dl%2Foauth-redirect.html HTTP/1.1" 429 117
[oauth][error] An unexpected error occurred: KeyError - 'oauth_token_secret'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[oauth][debug]
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\site-packages\gallery_dl\job.py", line 127, in run
for msg in extractor:
File "C:\Program Files\Python312\Lib\site-packages\gallery_dl\extractor\oauth.py", line 256, in items
self._oauth1_authorization_flow(
File "C:\Program Files\Python312\Lib\site-packages\gallery_dl\extractor\oauth.py", line 116, in _oauth1_authorization_flow
self.session.auth.token_secret = data["oauth_token_secret"]
~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'oauth_token_secret'
The text was updated successfully, but these errors were encountered:
Yep, this looks related to the error I reported. I'm not fluent in python but I tried to diagnose it myself, but eventually gave up when I realised I barely know what the hell I'm reading :-D
I'm trying to setup OAuth for Flickr, but I'm getting this error and my browser never opens up for me to authorize the app like the README says should happen. Possibly related to this issue with general Flickr downloads.
The text was updated successfully, but these errors were encountered: