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

I'm going to research these in the coming days and I'll share the code snippets:
  • bypass captcha (hooking into a paid service)
  • click verification link in gmail (connect to server through pop, scan emails, click target link)
  • load text file to list
  • save list to text file (one keyword per line)
  • delete list item
  • create folder
  • download file to folder
  • multithreading template
  • open new browser window
  • scroll 1 screen length
  • scroll on pages with dynamic loading
  • scrape all image urls
  • download all images on page to folder
  • pause script (for debugging)
  • loop with increment moving up or down, or adding and deleting list items
  • combine lists / set list position / clear list / choose random list item
  • clear cookies
  • set referrer
  • create a gui
  • compile python into an .exe
  • connect to sql database
  • search webpage for some text or element
  • comparisson tests
  • generate random numbers within a range
  • spin text
  • generate random name, address, etc.
  • public proxy rotation
  • private proxy rotation
 
Last edited:
Good luck. Don't use selenium with chrome. Use it with chromium, and more preferably with Firefox. Google detects that stuff.
 
Best advice for newbie in programming imo is: take time to make your own little program, it's pretty easy to understand a piece of code, but For come up with it by yourself it's pretty much difficult, so you need practice.

Also don't hesitate to create your own simple program (by example little program in the console that generate random sentence) , you will get some fun.
 
Definitely following this. I taught myself html, css, and js for building my own landing pages and have considered doing something similar to this so I don't have to rely on 3rd party bots. Best of luck! Looking forward to the journey.
 
Good luck with this, I started to learn python not long ago as well :)
 
great brother, i'm following your progress, started with python 3

Test your code and its amazing
 
nice thread. I've been learning python for a few weeks and I've already created bots that automatically crawl data from sites and import them to my websites, both with beautifulsoup and selenium modules.
 
THREAD UPDATE:

I've been working on setting up the paid captcha solution.

The best options from my research are:
  • imagetyperz.com
  • 1captchas.com
  • deathbycaptcha.com
  • anti-captcha.com
  • 2captcha.com
I decided to go with http://anti-captcha.com mainly because it's well priced per thousand captcha solves and the minimum deposit is only $1. I also like how their website and all the documentation is extremely clean and professional.

The problem I've hit is that they don't offer a pre-made Python script to hook into the API. I emailed the admin but will have to wait to see if he offers a solution.

I was starting to write my own code to connect to the API but it's going to take a little while for me to get that done (2+ days maybe?). There's a hard learning curve I'll need to break through.

They offer pre-made code for C# and a few other languages: https://github.com/AdminAnticaptcha/anticaptcha-csharp not sure if it's worth trying to convert it..

The basics of connecting to the API <- seems simple but when I see all the files and code in that Github it's overwhelming lol.

I guess I'm gonna keep hammering away at writing my custom Python to POST and GET data from the API.

Will update when I have something functional.

Any advice is appreciated! If you can produce working code before me by all means please share in the thread.

PS - I want to stick with Python as much as possible. I'm not switching the journey to Javascript unless it's an absolute last resort :D
 
take it from me! learn nodejs/javascript. You can do the same thing python does. PLUS you can build web apps too

How is he going to run selenium through JS? Selenium only works with java, python and C#
 
Interesting journey mate, following. I agree python has a really nice syntax to get used to.
Do you plan to make money selling the bots or using them yourself?
 
Good luck, I have been thinking about learning coding myself also as I would love to be independent of 3rd party bot creators - they rarely have all the functionality needed for my specific cases.
 
Back
Top