Closed dziban303 closed 6 years ago
I'll add syntax for follows this evening. (8 hours from now). I forgot to add it to the if statements, the query is there.
you can add these three lines in no_req_giveaways
follow_button = await prize_page.querySelector('#ts_en_fo_follow')
elif follow_button: await follow_button.click()
In #10, I added code to enter follow giveaways and also to just close the page without entering.
When you follow users on Amazon, you'll get emails from Amazon about their latest activities. That might be ok for someone you actually care about, but for these random giveaways it's just obnoxious spam, and you have to unfollow each account individually. So for me, it's best to just not enter these giveaways at all.
In addition to opening video giveaways, the bot has tried to open a giveaway requiring the user follow an account on Amazon. The bot apparently expects a video, and crashes after 30 seconds when it can't find the button.
I definitely don't want to enter giveaways requiring a follow. If it's fixed, an option to enable or disable these would be excellent, either as a command line switch or a block of code to comment out (without breaking anything else).
Errors below. Note one video giveaway worked (on the third try, see issue report #4) before the bot tried a follow giveaway.