Infinite recursion in Inkbunny scraper
Closed this issue · 1 comments
faucetlol commented
make_request
and fetch_sid
just infinitely call each other in a loop.
Earlopain commented
In a previous commit I moved network requests out of the construction of scrapers, but missed this.
In the future I want to switch to fetching this information on-demand instead of caching it for a set amount of time.
A bunch of scrapers have pretty low cache durations, twitter especially. I know that the tokens are more durable than an hour, but not how long exactly. So making requests and fetching the necessary stuff again when I make requests with expired tokens would be nice to have. Furaffinity as well, I set it to 2 weeks but it's valid for much longer.