-
Notifications
You must be signed in to change notification settings - Fork 1
/
how_to_start.txt
61 lines (37 loc) · 1.71 KB
/
how_to_start.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
open the folder in cmd and run the following command :
NOTE - you should have already installed python and pip and morzilla firefox on your PC (if not google it and install it)
after that run -
pip install selenium
pip install instabot
########
IN FILE - ins.py
do the following changes
###################################################################
LINE 14 -
change username and password to your instagram account username and password, it would look like,
username = 'rocky123' , password = 'rabbitlion007'
###################################################################
LINE 15 -
change the tags array as per your requirements, it will look like -
tags=['camera','india']
####################################################################
LINE 19 -
change the value of range()
it is the value which indicates the bot will download that photo per hashtag,
right now it is 2 means it will download 2 photos per hashtag,
you change the number like range(3) or range(1)
###################################################################
LINE 35 -
you can change the value of variable 'get_caption' as per your requirements
from line 25 to line 34, it will gather the realted hashtags.
###################################################################
LINE 27 -
time.sleep() contains the value in seconds which is the interval between the uploading of photos
####################################################################
AND TO RUN THE FILE -
open cmd, navigate to the folder and run -
python ins.py
######################################################################
for any query you can dm me on my linkedin or email
linkedin - https://www.linkedin.com/in/anuj-singh-007/
email - singhanuj620