Skip to content

Commit

Permalink
Merge pull request #20 from ishandutta2007/master
Browse files Browse the repository at this point in the history
same 10 comments fix for quickstart.py as well
  • Loading branch information
timgrossmann committed Apr 8, 2019
2 parents 888aaf5 + f371462 commit be3a73a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions quickstart.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run
Expand All @@ -7,6 +6,17 @@
insta_username = ''
insta_password = ''

comments = ['Nice shot! @{}',
'I love your profile! @{}',
'Your feed is an inspiration :thumbsup:',
'Just incredible :open_mouth:',
'What camera did you use @{}?',
'Love your posts @{}',
'Looks awesome @{}',
'Getting inspired by you @{}',
':raised_hands: Yes!',
'I can feel your passion @{} :muscle:']

# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
Expand All @@ -22,5 +32,6 @@
session.like_by_tags(["natgeo"], amount=10)

# Joining Engagement Pods
session.set_do_comment(enabled=True, percentage=35)
session.set_comments(comments)
session.join_pods()

0 comments on commit be3a73a

Please sign in to comment.