easy parsing/automation instagram.com
Project description
💻 Library for instagram.com automation.
♥️ Like instagram feed, username profile, location, tag.
📊 Get statistic of any public account.
Requirements
Examples
Example of using package for getting account statistic:
from insta_browser import InstaMeter im = InstaMeter(username='al_kricha') im.analyze_profile() im.print_account_statistic() im.print_top_liked()
result:
+-- 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:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for insta_browser-0.8.2.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96194130ca8584268aa9ca135f871f9309f8ca6f19ecef38ea3f7c4c60147b8 |
|
MD5 | 80e672179a8e00f608caa5aa4a1e81e6 |
|
BLAKE2b-256 | 3f35fa0506167c187a341dfc16e233de52e48dc4728eb6de0c4c409e0ba6539d |