📅  最后修改于: 2022-03-11 14:46:51.303000             🧑  作者: Mango
from instapy import InstaPy
session = InstaPy(username="", password="")
session.login()
session.like_by_tags(["bmw", "mercedes"], amount=5)
session.set_dont_like(["naked", "nsfw"])
session.set_do_follow(True, percentage=50)
session.set_do_comment(True, percentage=50)
session.set_comments(["Nice!", "Sweet!", "Beautiful :heart_eyes:"])
session.end()