Apologies if i've worded the question a bit wrong, but I'm working on a script which automates the checkout process of a certain e-commerce website. However, I would need to run a seperate thread to harvest google recaptchas and store them in a queue since they will need to be used when sending POST requests. Would it be possible to start only the harvesting thread when the program starts and then start the checkout process based on input (e.g. when the user hits enter or something)?
Also since google recaptcha tokens expire after a certain amount of time, is there a way that I can pop it off the queue without having to keep polling the queue?
Thanks in advance.