Deviantart "Too many requests" #3018
Replies: 3 comments 4 replies
-
There's the problem. https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractordeviantartclient-id--client-secret |
Beta Was this translation helpful? Give feedback.
-
gallery-dl does not create a config file by itself, but it will automatically read any file at the locations listed here. I'd recommend you copy docs/gallery-dl.conf, move it into The OAuth client_id and client_secret values go here: gallery-dl/docs/gallery-dl.conf Lines 72 to 73 in a12ce2b (don't forget to put them in double quotes) To download from the deleted account, you can just use gallery-dl/gallery_dl/extractor/deviantart.py Lines 75 to 82 in a12ce2b |
Beta Was this translation helpful? Give feedback.
-
TY @mikf for the rapid responses! It worked. I was surprised to see gallery-dl find more files than a manual search did for some accounts, and indeed it found the pre-existing folders which search doesn't. Looks like the main problem was that I hadn't put double quotes around the string part of the client-id and client-secret; since the original value of null wasn't in quotes, I didn't realize the new values needed quotes. I suggest you mention that in the readme. Also, it doesn't particularly seem to matter if the conf file in that location is named config.json or gallery-dl.conf, right? I now see what you mean about going folder by folder. In deviantart, the gallery folders consist of "All," "Featured," and folders the owner created. It seems indeed a few files may be in "All" that aren't in any other folder. So I'd like to try the group=false option, but I don't know how to recompile it after editing deviantart.py. Should I just wait for you to push another prebuilt for windows, or are there instructions? TY again. |
Beta Was this translation helpful? Give feedback.
-
Trying to use newest gallery-dl under win10 to retrieve photos from a Deviantart account that has been deleted. One can't directly access the account, but the photos are still there with the account name struckthrough. By using search for the account name then "Deviations" tab then "Most recent" option tab (Example: https://www.deviantart.com/search/deviations?q=jamajurabaev&order=most-recent), the still-accessible photos from that account are all shown (and some other detritus like comments made by that author), and can be downloaded manually just like normal. But trying gallery-dl almost immediately shows "[deviantart][warning] API responded with 429 Too Many Requests. Using 1s delay", then 2s, etc. It also doesn't seem be applying the filtering implicit in the path name, instead just retrieving some unrelated photos.
I'd think it's just that the Deviantart extractor isn't built for the search function, but I'm pretty sure it succeeded previously.
Per the returned text, I did try acquiring new oauth credentials, but no change. But I'm not at all sure I put them in the right place, so I'd appreciate explicit instructions for where to put them. I don't otherwise use any conf files. The only outside file gallery-dl creates is %appdata%\gallery-dl\cache.sqlite3, no created conf files I can find.
Beta Was this translation helpful? Give feedback.
All reactions