Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
4,777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.73 KB | None | 0 0
  1. """
  2. This template is written by @the-unknown
  3. What does this quickstart script aim to do?
  4. - This is my template which includes the new QS system.
  5.  It includes a randomizer for my hashtags... with every run, it selects 10
  6.  random hashtags from the list.
  7. NOTES:
  8. - I am using the bot headless on my vServer and proxy into a Raspberry PI I
  9. have at home, to always use my home IP to connect to Instagram.
  10.  In my comments, I always ask for feedback, use more than 4 words and
  11.  always have emojis.
  12.  My comments work very well, as I get a lot of feedback to my posts and
  13.  profile visits since I use this tactic.
  14.  As I target mainly active accounts, I use two unfollow methods.
  15.  The first will unfollow everyone who did not follow back within 12h.
  16.  The second one will unfollow the followers within 24h.
  17. """
  18.  
  19. # !/usr/bin/python2.7
  20. import random
  21. from instapy import InstaPy
  22. from instapy import smart_run
  23.  
  24. # get a session!
  25. session = InstaPy(username='sendmahbal', password='', headless_browser=False, geckodriver_path="C:\\Webdrivers\\geckodriver.exe", bypass_security_challenge_using="email")
  26.  
  27. # let's go! :>
  28. with smart_run(session):
  29.     session.set_smart_hashtags(["#themepage", "#interiordesign", "#designviral", "#designawards", "#adesign", "#freelancer",
  30.                 "#artthemepage", "#designinspiration", "#improvement", "#goals", "#minimalism", "#followforfollow",
  31.                 "#growingpage", "#creative", "#dropservicing", "#art", "#freedom", "#viral", "#design", "#landscape",
  32.                 "#vacation", "#beautifulview", "#newpage", "#travelpage", "#earth", "#views", "#tourism", "#tourist",
  33.                 "#travelling", "#bhfyp", "#like", "#dogs", "#blackgirl", "#diningtable", "#woodwork", "#glassandwood",
  34.                 "#newproduct", "#dprinting", "#helmet", "#outdoor", "#modernhouse", "#dog", "#cozyplaces",
  35.                 "#dogadventures", "#puppy", "#hundeportrait", "#swissdog", "#mydog", "#mydogs", "#dogpage", "#cutedog",
  36.                 "#cute", "#aww", "#summervibes", "#dogstagram", "#curlyhair", "#workout", "#clearskin", "#pretty",
  37.                 "#newliving", "#meme", "#memes", "#funny", "#dankmemes", "#memesdaily", "#funnymemes", "#lol", "#dank",
  38.                 "#humor", "#follow", "#dankmeme", "#lmao", "#love", "#anime", "#ol", "#edgymemes", "#dailymemes",
  39.                 "#comedy", "#instagram", "#fun", "#offensivememes", "#fortnite", "#funnymeme", "#tiktok", "#memer",
  40.                 "#memez", "#memepage", "#memestagram"], limit=10)
  41.  
  42.     # general settings
  43.     session.set_do_follow(enabled=True, percentage=40, times=1)
  44.     session.set_do_comment(enabled=True, percentage=30)
  45.     session.set_comments([
  46.         'If you wanna learn about growing instagram themepages join the discord in my bio!',
  47.         "join the discord in my bio if you want to talk about theme pages",
  48.         "Hey I really like your content! If you want you can follow the discord in my bio, it's for sharing info on instagram theme pages",
  49.         "Anyone who wants to discuss growing a page please follow the link in my bio",
  50.         "Nice page! I have a discord where people can discuss growing their pages, please check the link in my bio",
  51.         "Great page! If anyone is interested in talking with people who own theme pages, please follow the link in my bio :)"
  52.         u"Wow👍! Nice content, I have a discord where people can discuss growing instagram pages for anyone who wants to join, please check the link in my bio",
  53.         "Anyone who wants to learn more about growing insta pages, please reach out to follow creators through the discord in my bio",
  54.         "If you guys would like discuss and share your experiences of growing instagram pages with others please follow the discord in my bio!",
  55.         "Theres a link in my bio to a discord where you can share your experiences with insta pages!",
  56.         "Please click the link in my bio to join a discord for people discussing instagram themepages!",
  57.         "If you want to talk with people who own their own theme pages please follow the discord in my bio!"])
  58.     session.set_do_like(True, percentage=70)
  59.     session.set_delimit_liking(enabled=True, max_likes=242, min_likes=0)
  60.     session.set_delimit_commenting(enabled=True, max_comments=20, min_comments=0)
  61.     session.set_relationship_bounds(enabled=True,
  62.                                     potency_ratio=None,
  63.                                     delimit_by_numbers=True,
  64.                                     max_followers=3000,
  65.                                     max_following=2000,
  66.                                     min_followers=100,
  67.                                     min_following=50)
  68.  
  69.     session.set_quota_supervisor(enabled=True,
  70.                                  sleep_after=["likes"],
  71.                                  sleepyhead=True, stochastic_flow=True,
  72.                                  notify_me=True,
  73.                                  peak_likes_daily=(100, 1000),
  74.                                  peak_comments_daily=(21, 250),
  75.                                  peak_follows_daily=(200, None))
  76.  
  77.     session.set_user_interact(amount=1, randomize=False, percentage=40)
  78.  
  79.     # activity
  80.     session.like_by_tags(amount=60, media=None, use_smart_hashtags=True)
  81.     session.unfollow_users(amount=500, instapy_followed_enabled=True, instapy_followed_param="nonfollowers",
  82.                            style="FIFO",
  83.                            unfollow_after=12 * 60 * 60, sleep_delay=501)
  84.     session.unfollow_users(amount=500, instapy_followed_enabled=True, instapy_followed_param="all",
  85.                            style="FIFO", unfollow_after=24 * 60 * 60,
  86.                            sleep_delay=501)
  87.  
  88.     """ Joining Engagement Pods...
  89.    """
  90.     session.join_pods(topic='entertainment', engagement_mode='no_comments')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement