-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.py
39 lines (26 loc) · 1.43 KB
/
config.py
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
from random import randint
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
***IMPORTANT***
Please be aware of Instagram's daily limits for likes and comments to avoid getting banned
https://socialpros.co/instagram-daily-limits#Instagram%E2%80%99s_Daily_Limits_in_2020
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Local path to chrome driver
chromedriver_path = "C:/Users/Annie/Desktop/chromedriver_win32/chromedriver.exe"
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Make adjustments below to tweak the bot to your liking
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# List of hashtags to go through
hashtag_list = ['urbanandstreet', 'natureperfect']
# List of comments to be randomly chosen from
comments_list = ['Love this!', 'Nice shot :)', 'Amazing~', 'Looks great! :)', 'Beautiful']
# Number of posts to go through per hashtag
number_of_posts = 100
# Chance of commenting on photo
# i.e. chance_to_comment = 4 means a 1/4 chance
chance_to_comment = 2
# Time to wait in between processing instagram posts in seconds
# Enter lower and upper limit in randint()
wait_between_posts = randint(7, 16)
# Time to wait in between liking a post and commenting on it in seconds
# Enter lower and upper limit in randint()
wait_to_comment = randint(10, 20)