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] only downloads GIF preview #242

Closed
ghost opened this issue May 1, 2019 · 6 comments
Closed

[deviantart] only downloads GIF preview #242

ghost opened this issue May 1, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented May 1, 2019

Go ahead, download it (https://www.deviantart.com/skatergators/art/COM-Monique-Model-781571783) by yourself. It only downloads the preview, not the actual animation

@mikf
Copy link
Owner

mikf commented May 1, 2019

That's the DeviantArt OAuth API at fault, it seems. gallery-dl does request the download URL for the original file, but that points to a preview for some reason. The non-download URL however has the full GIF animation and you can get it by setting deviantart.original to false:
gallery-dl -o original=false https://www.deviantart.com/skatergators/art/COM-Monique-Model-781571783.

But why this happens in the first place and how to detect it in general is something that needs to be investigated. Maybe it happens for all (and only) GIF files?

@ghost
Copy link
Author

ghost commented May 2, 2019

hmm, so far that I know:

  • It has no problem to download video
  • all still pictures have no problem to download
  • also works well when downloading SWF

yeah, I think it only happens to GIF

Also, I think the -o original=false option doesn't work well in batch

@ghost ghost changed the title [deviantart] Instead of downloading the actual animation, it downloads the preview [deviantart] only downloads GIF preview May 4, 2019
mikf added a commit that referenced this issue May 8, 2019
The "original" download URL for GIF animations is only a preview version
of the original file.
@mikf
Copy link
Owner

mikf commented May 8, 2019

I've taken a look at a couple of GIFs and the pattern holds true:

  • "original" download URLs contain a preview version
  • "preview" URLs have the original GIF animation

... so every file ending in .gif now always uses said "preview" URL.

@mikf mikf closed this as completed May 8, 2019
@Hrxn
Copy link
Contributor

Hrxn commented May 8, 2019

Those cheeky little buggers..

@Hrxn
Copy link
Contributor

Hrxn commented May 8, 2019

Uh oh.. GitHub comments on here look broken right now.

@mikf
Copy link
Owner

mikf commented May 8, 2019

Those cheeky little buggers..

Or incompetent little buggers. They've also managed to set a wrong value for download_filesize ever since WixMP took over.

Uh oh.. GitHub comments on here look broken right now.

Speaking of incompetence ...

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

No branches or pull requests

2 participants