Git Product home page Git Product logo

dbooru's People

Contributors

ada-af avatar anon-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dbooru's Issues

E621 site issues.

Hey there,

You project currently violates a bunch of the API rules for e621 and has gotten a few people banned from the site.

I'm contacting you in hopes that you will make corrections to your project so that it complies with the API guidelines. The guidelines and other API information can be found here https://e621.net/help/show/api

  • This project impersonates a web browser, which is against the e621 API usage terms. The user agent submitted must comply with the user-agent rules for API usage, which can be seen on the wiki page for the API.
  • This project does not sanity check HTTP response codes such as 404, 403, 503, 500 etc. This causes it to continue to make requests even when it will never properly work. Both 400 and 500 range errors should be an abort condition, because the site is not willing to serve the requests made.
  • The exit condition for your loops is not valid so it makes infinite requests.
  • E621 has a maximum page count of 750 and page access above this will always fail. There is a work around listed on the API documentation wiki.
  • When threaded the delay between requests is not honored properly and we've seen people making as many as 50 requests a second to the server. This needs to be fixed.
  • E621 will always return valid JSON for .json requests unless something has gone terribly wrong and you're hitting a hard error condition. Please use the python json module to parse this data and handle invalid input as an exit condition.

Thank you for your time and I hope that you will make these changes.

[Gelbooru] Getting favorites

Gelbooru requires logging in to access "My favorites" page.
And has no API endpoints to list them nor supports it through search.

Possible fixes:

  • Use browser cookies
  • Wait for gelbooru to implement API endpoint

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.