Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74bbd9c

Browse files
Add files via upload
1 parent b9bff49 commit 74bbd9c

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1+
from selenium import webdriver
2+
from selenium.webdriver.common.keys import Keys
3+
import random
4+
import time
5+
from settings import password
16

7+
emails = [] #read from emails.txt
8+
with open('emails.txt', 'r') as f:
9+
for line in f:
10+
emails.append(line.strip())
11+
12+
print('\n\n')
13+
print('----------------------------------------------------')
14+
print('This program will create multiple instagram accounts')
15+
print('----------------------------------------------------')
16+
print('\n{} email addresses found!'.format(len(emails)))
17+
print('Starting in 30 seconds...')
18+
time.sleep(30)
19+
20+
driver = webdriver.PhantomJS()
21+
driver.set_window_size(1120, 550)
22+
23+
for email in emails:
24+
driver.get("http://www.instagram.com")
25+
time.sleep(random.randint(8,12))
26+
element = driver.find_element_by_name("emailOrPhone")
27+
element.send_keys(email.split(',')[0].strip())
28+
time.sleep(random.randint(4,8))
29+
element = driver.find_element_by_name("fullName")
30+
element.send_keys(email.split(',')[1].strip())
31+
time.sleep(random.randint(4,8))
32+
element = driver.find_element_by_name("username")
33+
element.clear() #clearing instagram suggestion
34+
time.sleep(random.randint(4,8))
35+
element.send_keys(email.split('@')[0].strip())
36+
time.sleep(random.randint(12,24))
37+
element = driver.find_element_by_name("password")
38+
element.send_keys(password)
39+
time.sleep(random.randint(4,8))
40+
element.send_keys(Keys.RETURN)
41+
time.sleep(random.randint(12,24))
42+
driver.get("http://www.instagram.com")
43+
driver.quit()
44+
time.sleep(random.randint(12,24))

‎create_account/emails.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
email@email.com,Your Name
2+
email@email.com,Your Name
3+
email@email.com,Your Name

‎create_account/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
password = "" # your future instagram password for all accounts

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /