Closed saabtech closed 1 year ago
@saabtech hi,
Yes, you should use in the following code block.
array = [amf.twitter_like, amf.twitter_retweet, amf.twitter_follow, amf.reddit_members, amf.youtube_subscribe, amf.pinterest_save, amf.pinterest_followers, amf.instagram_like, amf.instagram_follow, amf.facebook_followers, amf.facebook_share]
while(True): try: choice(array)() except: print('We could not find a content to collect points. We are waiting 180 seconds...') sleep(180)
Instead of this:
array = [amf.surf_website, amf.youtube_view, amf.twitter_like, amf.twitter_retweet, amf.twitter_follow, amf.instagram_like, amf.instagram_follow, amf.facebook_followers, amf.facebook_share, amf.reddit_members, amf.youtube_subscribe, amf.pinterest_save, amf.pinterest_followers]
while(True): try: choice(array)() except: delay = randint(100, 300) print('We could not find a content to collect points. We are waiting ' + str(delay) + ' seconds...') sleep(delay)
@saabtech hi,
Yes, you should use in the following code block.
array = [amf.twitter_like, amf.twitter_retweet, amf.twitter_follow, amf.reddit_members, amf.youtube_subscribe, amf.pinterest_save, amf.pinterest_followers, amf.instagram_like, amf.instagram_follow, amf.facebook_followers, amf.facebook_share]
while(True): try: choice(array)() except: print('We could not find a content to collect points. We are waiting 180 seconds...') sleep(180)
Instead of this:
array = [amf.surf_website, amf.youtube_view, amf.twitter_like, amf.twitter_retweet, amf.twitter_follow, amf.instagram_like, amf.instagram_follow, amf.facebook_followers, amf.facebook_share, amf.reddit_members, amf.youtube_subscribe, amf.pinterest_save, amf.pinterest_followers]
while(True): try: choice(array)() except: delay = randint(100, 300) print('We could not find a content to collect points. We are waiting ' + str(delay) + ' seconds...') sleep(delay)
It is still the same. works for like two to three tasks and then all it does is not finding points to earn.
@saabtech hi,
If current tasks have no content, you will get this message. Because it searches for follow/like/subscribe button.
@saabtech hi,
If current tasks have no content, you will get this message. Because it searches for follow/like/subscribe button.
It wouldnt jump to another tasks? like if twitter has no follow/likes/retweet tasks, will the script not skip and start earning points from FB or YT etc?
I have a bot that does the following when this happen, please check the screenshot below: When the task fail to earn points 5 times it will change the platform and start earning points from another platform.
@saabtech hi,
Normally, it was working like you mentioned. However, I changed it 3-4 days ago and now it chooses tasks randomly. So Twitter, Facebook or any platform don't block us. You can change your sleep value from 180 to less value.
@saabtech hi,
Normally, it was working like you mentioned. However, I changed it 3-4 days ago and now it chooses tasks randomly. So Twitter, Facebook or any platform don't block us. You can change your sleep value from 180 to less value.
is there non headless mode as i tried as its not working with me when changed the value of #headless
I didnt understand what you mean. Did you use the latest init file?
I didnt understand what you mean. Did you use the latest init file?
I can confirm one thing, in headless mode all accounts are logged in but we wont get points. In nonheadless mode, we get points.
@saabtech hi,
Can you add this code block in every login task? For example:
def login_gmail(self):
self.browser.get('https://mail.google.com')
sleep(5)
actions = ActionChains(self.browser)
actions.send_keys(YOUR GMAIL ADDRESS).perform()
sleep(2)
actions.send_keys(Keys.RETURN).perform()
sleep(2)
actions.send_keys(YOUR GMAIL PASSWORD).perform()
sleep(2)
actions.send_keys(Keys.RETURN).perform()
sleep(10)
if "Inbox" in self.browser.page_source:
print('Logged in Gmail.')
else:
print('Something went wrong in Gmail login process.')
**self.browser.save_screenshot('gmail.png)**
For other task, please name as task name like 'pinteres.png, instagram.png'
After you run, please show me your ss.
Afer adding the above block, I get this error running the script
@saabtech hi,
You should add in the following. Since it's in bold type, you look like copying * chars :)
self.browser.save_screenshot('gmail'.png)
I am running it in non headless mode and the script earn points pretty well.
Is it possible to shuffle the tasks for each platform ( instagram, twitter, FB, YT, PT, Reddit etc ) every 3 minutes because the script keeps waiting to earn points .
after the waiting time, does the script move to another Task? or stay within the same platform.