-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.sample
23 lines (18 loc) · 1.09 KB
/
configuration.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
### You need to replace these with your data and what you want to like
INSTAGRAM_USER = 'YOUR INSTAGRAM USER NAME' # replace with your instagram username
INSTAGRAM_PASS = 'YOUR INSTAGRAM PASSWORD' # replace with your instagram password
# Tags or locations you want to like
INSTAGRAM_URLS = [
"https://www.instagram.com/explore/tags/tenerife/",
"https://www.instagram.com/explore/locations/281407321/tenerife/"
].uniq
### These are good defaults, no need to change them
MAX_PHOTOS = (15..40) # maximum photos to like per url
MIN_LIKES_TO_LIKE = 10 # minimum number of likes on photo before the script is allowed to like it
SLEEP_TIME_BETWEEN_LIKES = (10..20) # seconds to @wait between likes
SLEEP_TIME_BETWEEN_URLS = (300..600) # seconds to @wait between urls
SLEEP_TIME_BETWEEN_ITTERATIONS = (1000..2000) # seconds to @wait between itterations
VERBOSE = false # set this to true if you want detailed information on what's going on
HEADLESS = true # set this to false if you want to see the browser window
MAX_HOURS = 3 # set the number of hours to run
TIMEOUT = 60 # number of seconds to wait for page to load