-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs after launching chromium #15
Comments
You have to install 3.6.6, looks like you installed latest 3.7: |
It's unable to grab the next page URL; I'm working on fix for that right now (shhh dont' tell @zdrouse ) |
That would be great if you could fix it. It's a bit beyond me, I'm afraid. It'd be nice if it would accept username and password as command line variables, or store them in a cfg file. |
This is my 2nd time ever messing around with python, honestly. I normally outsource it. But i'm almost positive the xpath is incorrect (maybe something updated in the recent months), and it doesn't know how to use the "navigate to" function in that iteration function. Lastly, I'm pretty sure we can just save the variables somewhere. I'll look at making a config line |
Updated and fixed the loop problem: |
I haven't figured out why pyppeteer likes to get hungup on tabs opening/closing So i made a quick "ghetto" fix: Create a file called "loop.py" (in same directory as give_it_away_now.py) put this in it:
Now start giveaway bot with
Basically this is a way to make sure the process restarts. I'm working on a way to log the last page it gets "stuck" on, so if it restarts, it just continues. |
There are a lot of pages, right? So upon restart, what about creating a random number in loop.py and starting at that page? That would ensure it's not doing the same 20 giveaways over and over. |
Sure, Add this to the top of the page: Line: 13 Then change the giveaway url string to (on line 23'ish, can't say since mine is edited a lot) |
I see you added support for YT videos on your fork. Since the tab doesn't have to be in the foreground for the 30s timer to work, could the bot move on to the next giveaway and come back to the video giveaway tab afterwards? That way the bot won't get stuck only doing 2 giveaways per minute. It's actually less than 2 per minute, because the bot's 30 second timer only starts several seconds after the tab is opened; the Continue button activates well before the bot clicks it. Anyway you've got the "Issues" section disabled on your fork, you might consider turning it on (in repository settings). Thanks for everything! |
I've actually rebuilt a ton of features, just struggling time to upload them. If you multi-thread the chrome process, it times out often. I tried :( I added all video support, a database for remembering giveaways visited, and everytype of giveaway completed. I do the amazon video type by injecting javascript into the page lol |
updated my repo, added the features above, and enabled issues tracker |
After launching the script, it asks for Amazon username and password, then launches chromium. At that point, nothing else happens. It doesn't open anything in chromium.
Meanwhile, python.exe consumes a CPU core.
Stopping the process yields the following:
Any ideas?
The text was updated successfully, but these errors were encountered: