Der-Henning / tgtg

Scanner for Too Good To Go Notifications
https://github.com/Der-Henning/tgtg/wiki
GNU General Public License v3.0
405 stars 64 forks source link

Feature Request: Sleep Time Range #543

Open Marow opened 1 month ago

Marow commented 1 month ago

Hi,

is it possible to add a function that i can setup a sleep range? So i can say between 10 and 30 seconds or something? I think that is not that good detectable like a hard time?

Der-Henning commented 1 week ago

Hi @Marow, The sleep duration is already randomized. But TGTG seems to only check for a hard rate limit based on requests per period from the same host / ip. I don't know the limits, but you get problems, when you run multiple scanners in parallel, i.e. when you don't have a dedicated ip address from your isp or you use a virtual machine provider.

lukemt commented 6 hours ago

That's interesting and good to know. Luckily the readme encouraged me to plug in my 10 years old raspberry pi that I never really used before :) works with no issues whatsoever (to my greatest surprise ;))