Skip to main content

Author : Eng. Nasser AlOstath nasser@dotslashhack.io pythonatinstagramtool, is a simple library/bot developed by The CEO of www.dotslashhack.io for educational perposes as an asset code to an article written in arabic for www.pythonat.com that talks about writing and uploading a user built python package to pypi.org so that it can be installed using pip.

this library is opensource that yields to the MIT license.

for more information, please check www.pythonat.com or www.dotslashhack.io to contact the author

this library is build mainly on top of selenium and webdriver-manager

the webdriver-manager library is usefull because it will automatically find and download the suitable browser webdriver depending on it’s version and OS.

NOTE:

it is always better to keep you instagram credentials in a separate file and import them here

installation

pip install pythonat-instalib

usage

# importing username and password of instagram account from a separate auth.py file
from auth import username,password

#creating a bot instace with credentials
bot = Bot("chrome",username,password)

#searching using a keyword
bot.find("#plymouthroadrunner")

# getting images and posts
posts, images = bot.get_posts(10)

# creating a folder of downloaded images
bot.download_pics_from_page(images,"./plymouthroadrunner","Roady")

Release files for pythonat-instalib 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pythonat-instalib 1.1.0
File Size Uploaded
pythonat-instalib-1.1.0.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pythonat-instalib 1.1.0
File Interpreter ABI Platform
pythonat_instalib-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / pythonat-instalib-1.1.0.tar.gz

Download URL pythonat-instalib-1.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ea8148daf83a83ffa1c4b443ad34e52dbbfe187d2116b515e08d9180283beaec
BLAKE2b-256 checksum
How to use checksums
889e41686ad22b7afa265f45b10bd70f7355412aaca631935186fe16dfa268ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release files / pythonat_instalib-1.1.0-py3-none-any.whl

Download URL pythonat_instalib-1.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5d8c9944bb0be744824edbb34ee391c91491580eaf5033dbbd028f74296076a
BLAKE2b-256 checksum
How to use checksums
82da6f28198511973e4747e69aae1e5e726e4a548cf817b7ff757e9e2b630eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page