Files
danbooru/app/logical
evazion 6e6ce6e62f nijie: replace Mechanize with Danbooru::Http.
The Nijie login process works like this:

* First we submit our `email` and `password` to `https://nijie.info/login_int.php`.
* Then we save the NIJIEIEID session cookie from the response.
* We optionally retry if login failed. Nijie returns 429 errors with a
  `Retry-After: 5` header if we send too many login requests. This can
  happen during parallel testing.
* We cache the login cookies for only 1 hour so we don't have to worry
  about them becoming invalid if we cache them too long.

Cookies and retrying errors on failure are handled transparently by Danbooru::Http.
2020-06-21 05:22:57 -05:00
..
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2019-11-09 14:42:30 -06:00
2019-08-01 00:06:18 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00