Skip to content

Commit 0e95993

Browse files
authored
Added comments
1 parent f68114a commit 0e95993

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

InstagramBot/instagram.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from instapy import InstaPy
22
from instapy import smart_run
33

4-
username = '***************'
5-
password = '***************'
4+
username = '***************' #enter your username
5+
password = '***************' #enter your password
66

77
profile = InstaPy(username= username,
88
password= password,
@@ -15,14 +15,18 @@
1515
max_followers=1000,
1616
min_followers=70,
1717
min_following=50)
18-
18+
19+
#select desired language
1920
profile.set_mandatory_language(enabled=True, character_set=['ENGLISH'])
20-
21+
22+
#allow the bot to follow other accounts
2123
profile.set_do_follow(True, percentage=10, times=2)
22-
24+
25+
#allow the bot to like posts with specific tags in them
2326
profile.set_do_like(enabled=True, percentage=70)
2427
profile.like_by_tags(['coding', 'programming', 'computerscience', 'webdevelopment'], media='Photo')
25-
28+
29+
#allow bot to comment on posts
2630
profile.set_do_comment(enabled=True, percentage=25)
2731
profile.set_delimit_commenting(enabled=True, max_comments=32, min_comments=10)
2832
profile.set_comments(['Awesome', 'Really Cool', 'I like your stuff'])

0 commit comments

Comments
 (0)