-
Notifications
You must be signed in to change notification settings - Fork 0
/
insta.py
37 lines (31 loc) · 1.17 KB
/
insta.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
from instagrapi import Client
from time import sleep
cl = Client()
password = input('password: ')
cl.login('ndongmochristian1', password)
comments = ['Nice Move on', 'Bravo', '👏👏🙌👏', "🙌🙌👏🙌", "❤️❤️❤️", " 😍❤️🙌🙌", "🙌🙌🔥🔥", "😇😇😇", "❤️❤️🥺🥺🥺", "🔥🔥🔥🔥"]
media_id = cl.media_id(cl.media_pk_from_url('https://www.instagram.com/p/ClmkBS7t-Wf/?igshid=YmMyMTA2M2Y='))
i = 0
while(i != 10):
coment = cl.media_comment(media_id, comments[0])
sleep(1)
coment = cl.media_comment(media_id, comments[1])
sleep(1)
coment = cl.media_comment(media_id, comments[2])
sleep(1)
coment = cl.media_comment(media_id, comments[3])
sleep(1)
coment = cl.media_comment(media_id, comments[4])
sleep(1)
coment = cl.media_comment(media_id, comments[5])
sleep(1)
coment = cl.media_comment(media_id, comments[6])
sleep(1)
coment = cl.media_comment(media_id, comments[7])
sleep(1)
coment = cl.media_comment(media_id, comments[8])
sleep(1)
coment = cl.media_comment(media_id, comments[9])
sleep(1800)
i = i + 1
#comment = cl.media_comment(media_id, '🙌🙌👏🙌')