1from instapy import InstaPy
2
3session = InstaPy(username="<your_username>", password="<your_password>")
4session.login()
5session.like_by_tags(["bmw", "mercedes"], amount=5)
6session.set_dont_like(["naked", "nsfw"])
7session.set_do_follow(True, percentage=50)
8session.set_do_comment(True, percentage=50)
9session.set_comments(["Nice!", "Sweet!", "Beautiful :heart_eyes:"])
10session.end()
11