aLkRicha/insta_browser

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Instabrowser
[![Build Status](https://travis-ci.org/kricha/insta_browser.svg?branch=master)](https://travis-ci.org/kricha/insta_browser)
[![PyPI](https://img.shields.io/pypi/v/insta_browser.svg)](https://pypi.org/pypi/insta_browser)

💻 Library for instagram.com automation.  
♥️ Like instagram feed, username profile, location, tag.  
🤝 Auto-follow unknown users, during liking, from locations or tags.   
📊 Get statistic of any public account.  

### Requirements
* Python 3
* [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) for headless web-surfing


### Examples

* Example of using package for liking specific user:

    ```python
    import os
    from insta_browser import browser

    br = browser.Browser(
        debug=True,cookie_path=os.path.join('var', 'cookies'),
        log_path=os.path.join('var', 'logs'),
        db_path=os.path.join('var', 'db'),
        exclude=os.path.join('var', 'exclude.txt'),
        auto_follow=True
    )

    try:
        br.auth('YOUR_INSTA_LOGIN', 'YOUR_INSTA_PASSWORD')
        br.process_user('al_kricha')
        print(br.get_summary())
    finally:
        br.close_all()

    ```

Other examples can be seen in my repository: [insta_bot](https://github.com/kricha/insta_bot)