My Journey To Learn Python / Selenium & Create Powerful IM Bots

Wish u goog luck bro
I made my first scripts last days, it's not too much but i familiarized a little with selenium+python
I automated creation of gmail accounts but stupid me, i thought google doesnt need phone verification
and the second script it upvotes a video on YT with muliple gmails
As I said these scripts were easy and I m thinking what should be my next step now.
 
Wish u goog luck bro
I made my first scripts last days, it's not too much but i familiarized a little with selenium+python
I automated creation of gmail accounts but stupid me, i thought google doesnt need phone verification
and the second script it upvotes a video on YT with muliple gmails
As I said these scripts were easy and I m thinking what should be my next step now.

IMO your bots should all be geared around making you money.

Find a very large traffic source (forum, social network etc), ideally one that isn't hammered by spam all day. The more it gets spammed the more it will harden its protection (phone verification, recaptcha, bot detection, etc)

Build a bot that will generate traffic and send it to a landing page.

Or...

Manually test out a bunch of methods in the making money section.. once you hit on a method that works for you start to automate it as much as possible through bots / VAs.
 
This is interesting, I am going through the process of learning python and building my own bot scripts and have found this inspiring. Ill definitely be following and commenting from time to time
 
HELL WEEK UPDATE:

Hey guys, here's the main things I learned throughout my hell week challenge:
  • I can handle WAY MORE than what I've been doing on an average day (both physically, and in my online work)
  • My mind is scary-good at tricking and sabotaging me into stopping my progress
  • For the first time in years I felt what its like to fall asleep within seconds of hitting the pillow
  • Visualizations right before bed are quite powerful and useful
  • I may have some kind of blood sugar issues after intense work outs
  • I can drop the majority of my bad habits easily all it takes it a big shift in perspective
  • Waking up early and feeling alert is easy when I have a mission I take seriously
  • Listening to motivational audio is very powerful to break through sticking points and build momentum (it overrides negative self-talk)
  • It's not possible to stick 100% to any rigid schedule, allow for a bit of flexibility and prepare to adapt when SHTF
  • It's ok to fail but don't sit around feeling like shit, make a pivot (shift in your planning) then jump right back into the game
To give a quick summary of hell week: the physical exercise was extremely brutal but it didn't feel as bad as I anticipated, I could have endured more. Cold exposure helped me recover quickly so I felt somewhat fresh for each new workout. I ate tons of high quality food to recovery from the workouts, but that also made me feel a bit bloated and sluggish once it came to doing my work on the computer.

I made it to the end of day 3 then I self-sabotaged myself. I was trying to decide if I should add a 30 minute nap to my daily routine so I'd be fresher for work and I slept through it and fk'd up my whole schedule. I was good for the first 2 days, but on day 3 my mind was trying to manipulate my will to continue. "Do you really want to do a 15KM run today?", "Just start doing shorter runs", "Take a nap it will improve your productivity", "Skip the cold swim today" etc. Self-talk is incredibly important. I've learned that my personal issue is I never quit outright and think "I can't do it", instead my mind will trick and manipulate me into quitting :/

I plan to revisit the hell week challenge in the spring time, I'll be much more well prepared for the pitfalls.

FORUM BOT / PYTHON UPDATE:

I made some really good progress on the forum posting bot and my Python skills have improved quite a bit! I think I understand how to work with APIs enough to do just about anything. That will come in handy because I plan on playing around with some text spinning APIs in the future.

Learning new programming skills takes me A LOT OF TIME. A couple of times I was stuck on a problem for 6-8 hours and just kept researching and testing, and eventually I'd overcome it.

So far this is the list of code snippets I have:

hyh_XUuuSwq-DLe3v7seaw.png


I'll eventually organize the code snippets nicely and share em with you guys.

My latest progress has been re-writing the anti-captcha script I had. It was designed to work for recaptcha v2 and the vbulletin forum I'm targeting uses a simple image captcha like this:

123.jpg


I have the new anti-captcha script 95% finished.

I needed to learn a whole new range of things to be able to get it to work:
  • Disable javascript
  • Scrape a URL
  • Take screenshot of captcha
  • Resize (crop) the image
  • Send image through POST method
  • etc
More updates coming soon.
 
You should be able to use 2captcha or the new deathbycaptcha api to skip having to take screenshots etc and just send a post with the captcha info. I am behind you since I keep getting side tracked with different projects but I have made a bot and using the 2cpatcha api is very helpful if you are dealing with recaptcha v2
 
Btw guys 2captcha and all that services are paid ones to solve captchas right?
just to let you know there is some python projects that use deep learning techniques to train a program to solve captchas
and the have pretty good results like 80% accuracy so you may be able to use that to solve some captchas
i was just reading about deep learning and found it so you may like it
you can read more here https://mathematica.stackexchange.com/questions/143691/crack-captcha-using-deep-learning
 
Btw guys 2captcha and all that services are paid ones to solve captchas right?
just to let you know there is some python projects that use deep learning techniques to train a program to solve captchas
and the have pretty good results like 80% accuracy so you may be able to use that to solve some captchas
i was just reading about deep learning and found it so you may like it
you can read more here https://mathematica.stackexchange.com/questions/143691/crack-captcha-using-deep-learning

That's very cool, I bookmarked it in case I decide to go that route later on. I'm gonna stick with 2captcha for now since it's already working (big thanks to @SpoonFeeder).

Here's the code if anyone needs it, all you need to do is put in your API key / driver location:

Code:
from selenium import webdriver
from PIL import Image
from time import sleep
import requests

driver = webdriver.Chrome("C:\\Program Files (X86)\\Google\\chromedriver.exe")
driver.get('http://pingler.com/')
driver.set_window_size(width=1280, height=720)
sleep(2)
element = driver.find_element_by_id('adcopy-puzzle-image')
driver.execute_script("return arguments[0].scrollIntoView();", element)
sleep(2)
driver.find_element_by_id('adcopy-puzzle-image').click()
sleep(5)
driver.save_screenshot('captcha-in.png')

crop_image = Image.open('captcha-in.png')
left = 85
top = 0
right = 440
bottom = 200
crop_image = crop_image.crop((left, top, right, bottom))
crop_image.save('captcha-out.png')

api_key = "dc592edbd46093fed72cf8fc00adfcca"
captcha_image = {'file': open('captcha-out.png', 'rb')}

captcha_id = requests.Session().post("http://2captcha.com/in.php?key=gdde44g4egg4gwegwgffdgdf4", files=captcha_image).text.split('|')[1]             # <------------------ API KEY THIS LINE

recaptcha_solution = requests.Session().get("http://2captcha.com/res.php?key={}&action=get&id={}".format(api_key, captcha_id)).text

while 'CAPCHA_NOT_READY' in recaptcha_solution:
    sleep(5)
    recaptcha_solution = requests.Session().get("http://2captcha.com/res.php?key={}&action=get&id={}".format(api_key, captcha_id)).text
recaptcha_solution = recaptcha_solution.split('|')[1]

print(recaptcha_solution)

driver.quit()

.
 
LATEST BATCH OF TUTORIALS:










 
  • Like
Reactions: Toz
Always fun to see fellow bot builders working towards their goal, looks like you've come a solid way since starting this thread. Keep it up!
 
THREAD UPDATE

I started working on the GUI in PyQt5 and I need some input from you guys.

I made this mockup in Photoshop to give a general idea how it will look:

gui.jpg


The bot will be separated into 2 modules, one for account creation and the other to send messages. For now I'm working on the account creation part of it.

"Proxy List" and "Target List" will open up a text editor allowing you to add /remove proxies and new forum targets.

The bottom section has statistics, a progress bar, a logging area, and a status on the bottom left.

Can I get some feedback on this GUI mockup? How do you feel it can be improved?

How should I store all the account data?
  • Internal list / dictionary / some other method?
  • CSV file?
Should I attach proxies to each individual forum and email account?

Is it a good idea to pull registration data from a profile generator (https://randomuser.me/) so that you don't need to provide lists of username, first name, last name, or would you prefer to use manual lists?
 
FINAL UPDATE / JOURNEY END

Alright guys, last post! I've come a long way and learned a lot. I'm still not able to write complex bots from start to finish on my own.. but I can piece code snippets together and edit it without issue. Also I've learned all the programming concepts that I wanted to except multi-threading, which I'll look into once I have a need for it. Overall I consider this journey a success.

In regards to the forum bot project I've decided it's best to scrap it and focus my energy on my other projects. There's not much interest and there's still quite a bit of work involved to complete it. I have some really nice bots in the pipeline that will be finished soon and I'm 100% sure they will make money and drive a lot of targeted, high quality traffic. I'll make a fresh journey soon to document my progress towards $x,xxx per month.

Thanks to everyone for following and supporting this journey!
 
Great Journey, I inspired and learned alot. Thanks Apex
 
Great journey you inspired lots of guys on this forum
 
Back
Top