Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DeviantArt] KeyError: 'premium_folder_data' #5063

Closed
tnovak007 opened this issue Jan 15, 2024 · 0 comments
Closed

[DeviantArt] KeyError: 'premium_folder_data' #5063

tnovak007 opened this issue Jan 15, 2024 · 0 comments

Comments

@tnovak007
Copy link

Hi

I started getting this error when downloading from DA (probably API change):

C:\WINDOWS\system32>gallery-dl "https://www.deviantart.com/visualguidance/art/The-Riders-1011050801" --verbose --ignore-config -c xxx.json
15.01.2024 01:08:45 debug: Version 1.26.7-dev
15.01.2024 01:08:45 debug: Python 3.12.1 - Windows-10-10.0.19045-SP0
15.01.2024 01:08:45 debug: requests 2.31.0 - urllib3 2.1.0
15.01.2024 01:08:45 debug: Configuration Files ['xxx.json']
15.01.2024 01:08:45 debug: Starting DownloadJob for 'https://www.deviantart.com/visualguidance/art/The-Riders-1011050801'
15.01.2024 01:08:45 debug: Using DeviantartDeviationExtractor for 'https://www.deviantart.com/visualguidance/art/The-Riders-1011050801'
15.01.2024 01:08:45 debug: Using custom API credentials (client-id xxx)
15.01.2024 01:08:45 debug: Starting new HTTPS connection (1): www.deviantart.com:443
15.01.2024 01:08:45 debug: https://www.deviantart.com:443 "GET /api/v1/oauth2/user/profile/visualguidance HTTP/1.1" 200 1394
15.01.2024 01:08:46 debug: https://www.deviantart.com:443 "GET /VisualGuidance/art/1011050801 HTTP/1.1" 200 None
15.01.2024 01:08:46 debug: https://www.deviantart.com:443 "GET /api/v1/oauth2/deviation/38E8E2F8-FA60-CAA3-5211-CF61B010007D HTTP/1.1" 200 1185
15.01.2024 01:08:46 debug: https://www.deviantart.com:443 "GET /api/v1/oauth2/deviation/metadata?deviationids%5B0%5D=38E8E2F8-FA60-CAA3-5211-CF61B010007D&mature_content=true HTTP/1.1" 200 402
15.01.2024 01:08:46 debug: https://www.deviantart.com:443 "GET /api/v1/oauth2/deviation/38E8E2F8-FA60-CAA3-5211-CF61B010007D HTTP/1.1" 200 1133
15.01.2024 01:08:47 debug: https://www.deviantart.com:443 "GET /api/v1/oauth2/deviation/metadata?deviationids%5B0%5D=38E8E2F8-FA60-CAA3-5211-CF61B010007D&mature_content=true HTTP/1.1" 200 402
15.01.2024 01:08:47 ERROR: An unexpected error occurred: KeyError - 'premium_folder_data'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
15.01.2024 01:08:47 debug:
Traceback (most recent call last):
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\job.py", line 127, in run
    for msg in extractor:
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\deviantart.py", line 123, in items
    data = self._fetch_premium(deviation)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\deviantart.py", line 455, in _fetch_premium
    folder = dev["premium_folder_data"]
             ~~~^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'premium_folder_data'

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants