Metadata-Version: 2.0
Name: insta-browser
Version: 0.8.2.16
Summary: easy parsing/automation instagram.com
Home-page: https://github.com/aLkRicha/insta_browser
Author: Aleksej Krichevsky
Author-email: krich.al.vl@gmail.com
License: MIT
Download-URL: https://github.com/aLkRicha/insta_browser/archive/0.8.2.16.tar.gz
Keywords: parsing,bot,instabot,automation,likes
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
Requires-Dist: selenium
Requires-Dist: tqdm

Instabrowser
============

|Build Status| |PyPI| |Code Climate|

| 💻 Library for instagram.com automation.
| ♥️ Like instagram feed, username profile, location, tag.
| 📊 Get statistic of any public account.

Requirements
------------

-  Pyhton 2.7/3
-  You need to have PhantomJS or Chrome web driver for work. Download
   and place binary from archive to bin folder:

   -  `PhantomJS <http://phantomjs.org/download.html>`__
   -  `Chrome <https://sites.google.com/a/chromium.org/chromedriver/downloads>`__

Examples
--------

-  Example of using package for getting account statistic:

   .. code:: python

       from insta_browser import InstaMeter
       im = InstaMeter(username='al_kricha')
       im.analyze_profile()
       im.print_account_statistic()
       im.print_top_liked()

   result:

   .. code:: commandline

       +-- https://instagram.com/al_kricha/ --------------------------+
       |   counter                    |             value             |
       +------------------------------+-------------------------------+
       |   followed                   |              402              |
       |   posts                      |              397              |
       |   comments                   |             1602              |
       |   likes                      |             20429             |
       |   following                  |              211              |
       |   video views                |             6138              |
       |                                                              |
       +--------- https://github.com/aLkRicha/insta_browser ----------+
       +--------------------------------------------------------------+
       |                       top liked posts                        |
       +--------------------------------------------------------------+
       |       https://instagram.com/p/BVIUvMkj1RV/ - 139 likes       |
       |       https://instagram.com/p/BTzJ38-DkUT/ - 132 likes       |
       |       https://instagram.com/p/BI8rgr-gXKg/ - 129 likes       |
       |       https://instagram.com/p/BW-I6o6DBjm/ - 119 likes       |
       |       https://instagram.com/p/BM4_XSoFhck/ - 118 likes       |
       |       https://instagram.com/p/BJVm3KIA-Vj/ - 117 likes       |
       |       https://instagram.com/p/BIhuQaCgRxI/ - 113 likes       |
       |       https://instagram.com/p/BM6XgB2l_r7/ - 112 likes       |
       |       https://instagram.com/p/BMHiRNUlHvh/ - 112 likes       |
       |       https://instagram.com/p/BLmMEwjlElP/ - 111 likes       |
       +--------------------------------------------------------------+

-  Example of using package for liking specific user:

   .. code:: python

       import os
       from insta_browser import browser

       br = browser.Browser(
           debug=True,
           chrome=False,
           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')
       )

       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/aLkRicha/insta_bot>`__

.. |Build Status| image:: https://travis-ci.org/aLkRicha/insta_browser.svg?branch=master
   :target: https://travis-ci.org/aLkRicha/insta_browser
.. |PyPI| image:: https://img.shields.io/pypi/v/insta_browser.svg
   :target: https://pypi.org/pypi/insta_browser
.. |Code Climate| image:: https://img.shields.io/codeclimate/github/aLkRicha/insta_browser.svg
   :target: https://codeclimate.com/github/aLkRicha/insta_browser


