Closed DatDraggy closed 7 years ago
Aight... Could be because of rate limiting. Investigated a bit and asked one of the devs.
Also, you should use the user agent from the API guidelines :P https://github.com/wwyaiykycnf/e621dl/blob/master/lib/downloader.py#L11
Here the guidelines. Should be "e621dl v2.4.6 (by [username])" to prevent getting blocked. https://e621.net/help/show/api
Update: It is because of rate limiting for some reason. Copied json from a tag to my own webserver and changed the url in e621_api.py to my domain. Worked fine.
I'll leave this open for the user agent thingy. Don't know what you want to do with that. It's required to use the "myproject/version (by username)" thing
I replaced the user agent on my own fork and it works fine now. The imitation was blacklisted by e621.
Ah cool. It still doesn't work for me. Dang.
What doesn't work, my fork? Or did you try to modify the user agent from the main branch? From what I recall, the main branch had the user agent hard-coded in 2 different places.
lmao I didn't even see that... Okay yea I changed the second file with the user agent in it as well now. Thanks
So I wanted to use this again to get an artists gallery but now the json can't be decoded.
I tried multiple tags but always the same.
Did e621 change their json objects?