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 extractor - wrong link for image #609

Closed
tslabs opened this issue Feb 14, 2020 · 2 comments
Closed

DeviantArt extractor - wrong link for image #609

tslabs opened this issue Feb 14, 2020 · 2 comments
Labels

Comments

@tslabs
Copy link

tslabs commented Feb 14, 2020

DeviantArt extractor retrieves a wrong link for image from certain pages, resulting in HTTP error 404.
Example URLs:
https://www.deviantart.com/yuukartz/art/Captain-Marvel-788654552
https://www.deviantart.com/tattiart/art/Be-my-Valentine-Commission-18-optional-785638301

@mikf mikf closed this as completed in 64bdec8 Feb 22, 2020
@mikf mikf added the bug label Feb 22, 2020
@ghost
Copy link

ghost commented Feb 23, 2020

I think the problem still exists, especially for gallery/scraps

gallery-dl https://www.deviantart.com/joakaha/gallery/scraps -v
[gallery-dl][debug] Version 1.13.1-dev
[gallery-dl][debug] Python 3.8.1 - Windows-10-10.0.18362-SP0
[gallery-dl][debug] requests 2.22.0 - urllib3 1.25.7
[gallery-dl][debug] Starting DownloadJob for 'https://www.deviantart.com/joakaha/gallery/scraps'
[deviantart][debug] Using custom API credentials (client-id 12345)
[deviantart][debug] Using DeviantartScrapsExtractor for 'https://www.deviantart.com/joakaha/gallery/scraps'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.deviantart.com:443
[urllib3.connectionpool][debug] https://www.deviantart.com:443 "GET /_napi/da-user-profile/api/gallery/contents?username=joakaha&offset=0&limit=24&scraps_folder=true HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://www.deviantart.com:443 "GET /_napi/da-browse/shared_api/deviation/extended_fetch?deviationid=814277154&username=Joakaha&type=art&include_session=false HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://www.deviantart.com:443 "GET /download/814277154/ddgss9u-daba4e0b-80ea-4bbe-a3b2-1558f234e4b7.png?token=097775973b235db61a9b32df87d749b6c891ce73&ts=1582467488 HTTP/1.1" 404 None
[downloader.http][warning] '404 Not Found' for 'https://www.deviantart.com/download/814277154/ddgss9u-daba4e0b-80ea-4bbe-a3b2-1558f234e4b7.png?token=097775973b235db61a9b32df87d749b6c891ce73&ts=1582467488'
[download][error] Failed to download 2019_09_23_16_07_...Pony Town - My House V 2....png

@mikf
Copy link
Owner

mikf commented Feb 24, 2020

That is a different error, probably caused by your auth cookie being expired, but still present in your cookies.txt file. Try setting the expiration timestamp for that cookie to 0, or simply renew your exported cookies.

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

No branches or pull requests

2 participants