Grzegorz Janik
Grzegorz Janik
> I can give you more examples if you need. That should do, thanks!
@rwv37 code from #145 does not really handle timeouts, broken connections etc. This is something I want to improve. Having a retry mechanism in such cases would be good, too.
> I haven't tried the official client yet, but I'll do that when I come home. > > Here are three examples, all free or pwyw. It's not only that...
I've done some debugging and it seems DriveThruRPG just made my life harder by adding a CloudFlare-based JavaScript challenge to the login API endpoint (maybe also to other endpoints, I...
I think the only way forward is to use something like playwright 🙁
I'm afraid tools for bypassing challenges, captachas etc (the library you've linked, playwright, or even something else) _will_ break in a while and require me to update the script over...
> I'm taking a look at this, seeing what would be required to work around this? But one strange thing is happening, has the API_URL changed? > > If I...
And indeed, when you're logged in to the DriveThruRPG website, you _can_ get the API token needed to following requests. This is because their anti-bot protection sees you as a...
@rwv37 Retries would be awesome to have. Httpx, the http library drpg uses, supports retries (excerpt from [docs](https://www.python-httpx.org/advanced/transports/#http-transport)): > Connection retries are also available via this interface. Requests will be...
As always, Pull Requests are welcome