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

Cannot get gallery-dl to download a tag search from Deviantart #3577

Closed
Logan9778 opened this issue Jan 27, 2023 · 3 comments
Closed

Cannot get gallery-dl to download a tag search from Deviantart #3577

Logan9778 opened this issue Jan 27, 2023 · 3 comments

Comments

@Logan9778
Copy link

Logan9778 commented Jan 27, 2023

I have Oauth set up and entered in config, but for some reason, gallery-dl keeps downloading the same random pictures, which looks like they're from it's most popular category.

For instance, if I write -> gallery-dl "https://www.deviantart.com/search?q=anime"

I get -

  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_197858159_A l'aise....jpg
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_91352648_Tiger cub.jpg
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_139286670_Baby Steps 0268P.png
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_428964840_Sky Turtle.jpg
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_494770871_Light and shadow ( Video Tutorial ).jpg
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_340935802_-Eevee-.jpg
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_198424283_Curious Titmouse 6941P.jpg
  • .\gallery-dl\deviantart\Popular\all-time\anime\deviantart_404380624_Riders.jpg

instead of anime pictures.

It happens no matter what tag I write. I can't figure out what I'm doing wrong.

Gallery-dl works fine on Danbooru when I try it there, so it appears it's just Deviantart.

Thanks. I'm using Windows 10.

@Logan9778 Logan9778 changed the title Cannot get gallery-dl to download user galleries or tags from Deviantart Cannot get gallery-dl to download either user galleries or by tag from Deviantart Jan 27, 2023
@Logan9778 Logan9778 changed the title Cannot get gallery-dl to download either user galleries or by tag from Deviantart Cannot get gallery-dl to download a tag search from Deviantart Jan 27, 2023
@mikf
Copy link
Owner

mikf commented Jan 27, 2023

Search on DeviantArt doesn't really work since the OAuth API does not support it.
The "best" gallery-dl can do is using the search functionality of the /browse/popular endpoint, which is not very good.

@Logan9778
Copy link
Author

Logan9778 commented Jan 27, 2023

Thanks! I guess that's why I"m getting all the animal pics in "Popular".
So we just have to wait for the API to support it?

@mikf
Copy link
Owner

mikf commented Jan 28, 2023

That's never going to happen. It is a miracle that this old API is still functional, with DeviantArt having switched over to their new Eclipse interface a couple of years ago.

At some point, all the current dA code will have to switch to said interface, but I'm not sure when this is going to happen; see the deviantart-rewrite branch.

mikf added a commit that referenced this issue Feb 22, 2023
(#538, #1264, #2954, #2970, #3577)

Requires login to fetch any results, since the API endpoint raises an
error for not logged in requests.

TODO: parse HTML search results
@mikf mikf closed this as completed Mar 12, 2023
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