some of the websites my bot visits contains lots of ads that sometimes cause trouble e.g. timeouts with low quality proxies.. Is there a way to block ads from viewing?
I did that, I blocked jpeg, png, gif etc, still all ads kept viewing and wrecking my bots
I also tried adding adblockers through extensions but they didn't work (guess that feature needs more work)
i also tried request mask deny for some of the ads domains, still no luck
@plantacja I did manage to block some of the ads by blocking the iframes that loaded it, some still appear but the script is much more stable now. Thank you.
BAS update didn't solve my problem of timeouts, so i got another chrome with ublock and looked what it blocked, request deny everything and now it is very quick and never fails 👍🏻
My script need to change the threads number dynamically, e.g.: 9:00-10:00 i need 30 threads,10:00-11:00 40 threads ...
What should I do?
Dynamically increase the number of threads can not. Specify at once the maximum number of threads, and let the excess threads sleep. Or use the action "Call function in several threads".