Git Product home page Git Product logo

instapy-light's Introduction

Contents

Introduction and initial setup

InstaPy-Light is a light version of InstaPy. The main goal is to have a minimalistic approach over InstaPy, beeing easier to setup and use, including basic features.

Installation

InstaPy-Light uses only Firefox and Geckodriver as default browser and driver.

The basics steps to install in any operational system is:

  1. install firefox
  2. install geckodriver
  3. git clone the project or download it using the zip file
  4. pip3 install requests selenium pyvirtualdisplay

Install On MacOS

Video tutorial in Brazilian Portuguese:

IMAGE ALT TEXT HERE

Setup your Instagram account

Features

Like By Tags

  • tags a list of tags to be used to like posts
  • amount the amount of posts you would like to like

example:

tags = ['johnassaraf', 'lawofattraction']
session.like_by_tags(tags, amount=3)

Every tag will be liked n(amount) times.

Follow Competitors Followers

Follow your competitors followers.

  • profile list of competitors to follow their followers
  • amount the amount of profiles to be followed by competitor
profiles = ['instagram', 'facebook', 'spotify']
session.follow_user_followers(profiles, amount=5)

Blacklist

This feature allows us to blacklist profiles by campaign.

  • campaign campaign name
  • blacklist_likes=True avoid liking profiles already liked
  • blacklist_follows=True avoid following already followed profiles
  • never_follow_again=True avoid unfollow and follow a profile again. After follow/unfollow process, the profile won't be followed again.

example:

session.set_blacklist(campaign='blacklist_campaign',
                      blacklist_likes=True,
                      blacklist_follows=True,
                      never_follow_again=True)

Unfollow by Blacklist Campaign

Unfollow only profiles saved in your previous blacklist campaign

  • campaign blacklist campaign name
  • amount amount of profiles to be unfollowed
session.unfollow_by_blacklist_campaign(campaign='blacklist_campaign',
                                       amount=5)

Unfollow

Unfollow profiles

  • amount amount of profiles to be unfollowed
session.unfollow_users(amount=5)

Save Screenshot

This is useful when you´re running it in a server and don´t have access to the screen of the browser. If some error was raised, you can see the last screen to be able to check what could be wrong.

  • filename file name to be saved in the root folder of InstaPy-Light
session.save_screenshot(filename='image.png')

Developers Documentation:

https://converge.github.io/InstaPy-Light

Feedback

Feel free to send me feedbacks to [email protected]

Keep The Project Alive

Donate any value using Paypal

instapy-light's People

Contributors

converge avatar timgrossmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

instapy-light's Issues

i found no other way

im really sorry about this i just didnt find another way to contact you .. i really need to ask you something i promise it will only take 5mnt .. can u give those 5 mnt of ur life 😭
thanx alot ❤️ 😻
& please delete this , this is so embarrassing 😢

commenters_util.py

wanst spaming btw i just needed ur help but ur not to friendly with spammers i guess & ur right . again im so sorry for this ..
just take a look
https://github.com/timgrossmann/InstaPy/blob/master/instapy/commenters_util.py

after the script grab commenters where it storage them ? how can i export them to a txt file .. please this is the one & the only thing ill ever ask u ive been trying for 2 days now but im not a programmer just a noobie..
please man it will only take u 3 mnt to explain or even write me a hinch so i can know what do i look for pleaseeee..
i promise ill never do anything like posting here & just need this so bad man ..

ImportError: No module named pyvirtualdisplay to run InstaPy-Light

  • Geckodriver version 0.21
  • Firefox: 62.0
  • Python: 3.7
  • Selenium: 3.14.0
  • Pyvirtualdisplay: 0.2.1

Hi,

I tried to run InstaPy-Light. I made everything like in the tutorial video: https://www.youtube.com/watch?v=h9svDhveps8 but I have got an issue when I try to run it.

I put my info on the config.py and lunch python config.py but nothing happened.

My code:

Last login: Fri Sep 14 16:47:20 on ttys000

MacBook-Pro-de-June2kicks:~ june2kicks$ cd documents
MacBook-Pro-de-June2kicks:documents june2kicks$ cd webdriver
MacBook-Pro-de-June2kicks:webdriver june2kicks$ curl -LO https://github.com/converge/InstaPy-Light/archive/master.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   127    0   127    0     0    285      0 --:--:-- --:--:-- --:--:--   285
100 5494k    0 5494k    0     0  2369k      0 --:--:--  0:00:02 --:--:-- 4921k
MacBook-Pro-de-June2kicks:webdriver june2kicks$ unzip master.zip
Archive:  master.zip
6c497c8fd606f08ab20dec870b4c9d7fb508e337
   creating: InstaPy-Light-master/
  inflating: InstaPy-Light-master/LICENSE  
  inflating: InstaPy-Light-master/README.md  
   creating: InstaPy-Light-master/app/
  inflating: InstaPy-Light-master/app/__init__.py  
  inflating: InstaPy-Light-master/app/blacklist.py  
  inflating: InstaPy-Light-master/app/instapy.py  
  inflating: InstaPy-Light-master/app/like.py  
  inflating: InstaPy-Light-master/app/login.py  
  inflating: InstaPy-Light-master/app/print_log_writer.py  
  inflating: InstaPy-Light-master/app/profile.py  
  inflating: InstaPy-Light-master/app/time_util.py  
  inflating: InstaPy-Light-master/app/unfollow.py  
  inflating: InstaPy-Light-master/app/util.py  
  inflating: InstaPy-Light-master/config.py  
   creating: InstaPy-Light-master/db/
  inflating: InstaPy-Light-master/db/instapy-light.db  
   creating: InstaPy-Light-master/docs/
 extracting: InstaPy-Light-master/docs/.nojekyll  
  inflating: InstaPy-Light-master/docs/How_To_DO_Ubuntu_on_Digital_Ocean.md  
  inflating: InstaPy-Light-master/docs/Makefile  
  inflating: InstaPy-Light-master/docs/erm.mwb  
   creating: InstaPy-Light-master/docs/html/
  inflating: InstaPy-Light-master/docs/html/.buildinfo  
   creating: InstaPy-Light-master/docs/html/_sources/
  inflating: InstaPy-Light-master/docs/html/_sources/blacklist.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/index.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/instapy.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/like.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/login.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/profile.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/time_util.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/unfollow.rst.txt  
  inflating: InstaPy-Light-master/docs/html/_sources/util.rst.txt  
   creating: InstaPy-Light-master/docs/html/_static/
  inflating: InstaPy-Light-master/docs/html/_static/ajax-loader.gif  
  inflating: InstaPy-Light-master/docs/html/_static/basic.css  
 extracting: InstaPy-Light-master/docs/html/_static/comment-bright.png  
 extracting: InstaPy-Light-master/docs/html/_static/comment-close.png  
 extracting: InstaPy-Light-master/docs/html/_static/comment.png  
   creating: InstaPy-Light-master/docs/html/_static/css/
  inflating: InstaPy-Light-master/docs/html/_static/css/badge_only.css  
  inflating: InstaPy-Light-master/docs/html/_static/css/theme.css  
  inflating: InstaPy-Light-master/docs/html/_static/doctools.js  
  inflating: InstaPy-Light-master/docs/html/_static/documentation_options.js  
 extracting: InstaPy-Light-master/docs/html/_static/down-pressed.png  
 extracting: InstaPy-Light-master/docs/html/_static/down.png  
 extracting: InstaPy-Light-master/docs/html/_static/file.png  
   creating: InstaPy-Light-master/docs/html/_static/fonts/
   creating: InstaPy-Light-master/docs/html/_static/fonts/Lato/
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bold.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bold.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bold.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bold.woff2  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bolditalic.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bolditalic.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bolditalic.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-bolditalic.woff2  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-italic.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-italic.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-italic.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-italic.woff2  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-regular.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-regular.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-regular.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/Lato/lato-regular.woff2  
   creating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/fontawesome-webfont.eot  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/fontawesome-webfont.svg  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/fontawesome-webfont.ttf  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/fontawesome-webfont.woff  
  inflating: InstaPy-Light-master/docs/html/_static/fonts/fontawesome-webfont.woff2  
  inflating: InstaPy-Light-master/docs/html/_static/jquery-3.2.1.js  
  inflating: InstaPy-Light-master/docs/html/_static/jquery.js  
   creating: InstaPy-Light-master/docs/html/_static/js/
  inflating: InstaPy-Light-master/docs/html/_static/js/modernizr.min.js  
  inflating: InstaPy-Light-master/docs/html/_static/js/theme.js  
  inflating: InstaPy-Light-master/docs/html/_static/minus.png  
  inflating: InstaPy-Light-master/docs/html/_static/plus.png  
  inflating: InstaPy-Light-master/docs/html/_static/pygments.css  
  inflating: InstaPy-Light-master/docs/html/_static/searchtools.js  
  inflating: InstaPy-Light-master/docs/html/_static/underscore-1.3.1.js  
  inflating: InstaPy-Light-master/docs/html/_static/underscore.js  
 extracting: InstaPy-Light-master/docs/html/_static/up-pressed.png  
 extracting: InstaPy-Light-master/docs/html/_static/up.png  
  inflating: InstaPy-Light-master/docs/html/_static/websupport.js  
  inflating: InstaPy-Light-master/docs/html/blacklist.html  
  inflating: InstaPy-Light-master/docs/html/genindex.html  
  inflating: InstaPy-Light-master/docs/html/index.html  
  inflating: InstaPy-Light-master/docs/html/instapy.html  
  inflating: InstaPy-Light-master/docs/html/like.html  
  inflating: InstaPy-Light-master/docs/html/login.html  
 extracting: InstaPy-Light-master/docs/html/objects.inv  
  inflating: InstaPy-Light-master/docs/html/profile.html  
  inflating: InstaPy-Light-master/docs/html/py-modindex.html  
  inflating: InstaPy-Light-master/docs/html/search.html  
  inflating: InstaPy-Light-master/docs/html/searchindex.js  
  inflating: InstaPy-Light-master/docs/html/time_util.html  
  inflating: InstaPy-Light-master/docs/html/unfollow.html  
  inflating: InstaPy-Light-master/docs/html/util.html  
  inflating: InstaPy-Light-master/docs/index.html  
   creating: InstaPy-Light-master/docs/source/
  inflating: InstaPy-Light-master/docs/source/.DS_Store  
  inflating: InstaPy-Light-master/docs/source/blacklist.rst  
  inflating: InstaPy-Light-master/docs/source/conf.py  
  inflating: InstaPy-Light-master/docs/source/index.rst  
  inflating: InstaPy-Light-master/docs/source/instapy.rst  
  inflating: InstaPy-Light-master/docs/source/like.rst  
  inflating: InstaPy-Light-master/docs/source/login.rst  
  inflating: InstaPy-Light-master/docs/source/profile.rst  
  inflating: InstaPy-Light-master/docs/source/time_util.rst  
  inflating: InstaPy-Light-master/docs/source/unfollow.rst  
  inflating: InstaPy-Light-master/docs/source/util.rst  
   creating: InstaPy-Light-master/logs/
  inflating: InstaPy-Light-master/logs/.gitignore  

MacBook-Pro-de-June2kicks:webdriver june2kicks$ cd instapy-light-master
MacBook-Pro-de-June2kicks:instapy-light-master june2kicks$ pip3 install requests selenium pyvirtualdisplay
Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (2.19.1)
Requirement already satisfied: selenium in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (3.14.0)
Requirement already satisfied: pyvirtualdisplay in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests) (2018.8.24)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests) (2.7)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests) (1.23)
Requirement already satisfied: EasyProcess in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyvirtualdisplay) (0.2.3)
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


MacBook-Pro-de-June2kicks:instapy-light-master june2kicks$ python --version
Python 2.7.10
MacBook-Pro-de-June2kicks:instapy-light-master june2kicks$ pyhton3 --version
-bash: pyhton3: command not found
MacBook-Pro-de-June2kicks:instapy-light-master june2kicks$ python3 --version
Python 3.7.0


MacBook-Pro-de-June2kicks:instapy-light-master june2kicks$ python config.py
Traceback (most recent call last):
  File "config.py", line 5, in <module>
    from app import InstaPyLight
  File "/Users/june2kicks/Documents/WebDriver/InstaPy-Light-master/app/__init__.py", line 1, in <module>
    from .instapy import InstaPyLight
  File "/Users/june2kicks/Documents/WebDriver/InstaPy-Light-master/app/instapy.py", line 9, in <module>
    from pyvirtualdisplay import Display
ImportError: No module named pyvirtualdisplay
MacBook-Pro-de-June2kicks:instapy-light-master june2kicks$

Did I miss something?

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.