apex1
Regular Member
- May 29, 2015
- 217
- 182
THREAD UPDATE:
My mind is exploding with so many ideas for bots. I'm really enjoying creating these little automation scripts so far!
I have a feeling this is going to become very profitable once I start creating bots around all the methods I want to test.
This doesn't feel like I'm learning programming.. it feels like I'm building my IM arsenal.
I made a few more account creation scripts today.. here's one to CafeM0m if anyone wants it:
I also made another script to log in, upload a profile picture, fill in account details like bio etc.
Unfortunately CafeM0m it doesn't require email validation so I haven't got into creating that script yet.
I'm going to work on setting that up now as well as the proxy code. I just got access to my private proxies.
My mind is exploding with so many ideas for bots. I'm really enjoying creating these little automation scripts so far!
I have a feeling this is going to become very profitable once I start creating bots around all the methods I want to test.
This doesn't feel like I'm learning programming.. it feels like I'm building my IM arsenal.
My scripts are my weapons and my proxies are my soldiers. Traffic and money are the spoils of war.
I made a few more account creation scripts today.. here's one to CafeM0m if anyone wants it:
Code:
#IMPORT
from selenium import webdriver
driver = webdriver.Chrome(r"C:\Program Files (X86)\Google\chromedriver.exe")
from time import sleep
#SET VARIABLES
email = "[email protected]"
password = "zz123123ZzzA"
username = "Mom82z1"
firstname = "Brittney"
lastname = "Resson"
zipcode = 10470
#NAVIGATION
driver.get("http://www.cafem0m.com/profile/register.php") #FIX URL
driver.maximize_window()
sleep(2)
#FILL FIELDS
driver.find_element_by_id("firstname").send_keys(firstname)
driver.find_element_by_id("lastname").send_keys(lastname)
driver.find_element_by_id("email").send_keys(email)
driver.find_element_by_id("screen_name").send_keys(username)
driver.find_element_by_id("passwd").send_keys(password)
driver.find_element_by_id("zip").send_keys(zipcode)
#CLICK CHECKBOX
driver.find_element_by_id("optin").click()
#DROP DOWN SELECTION
driver.find_element_by_xpath("//select[@id='birthday_month']/option[@value='04']").click()
driver.find_element_by_xpath("//select[@name='birthday[Day]']/option[@value='8']").click()
driver.find_element_by_xpath("//select[@id='birthday_year']/option[@value='1986']").click()
sleep(5)
#SUBMIT FORM
driver.find_element_by_id("regSubmit").click()
I also made another script to log in, upload a profile picture, fill in account details like bio etc.
Unfortunately CafeM0m it doesn't require email validation so I haven't got into creating that script yet.
I'm going to work on setting that up now as well as the proxy code. I just got access to my private proxies.