Read the latest Real Python tutorials
Project description
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")
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pythonat-instalib-1.1.0.tar.gz.
File metadata
- Download URL: pythonat-instalib-1.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea8148daf83a83ffa1c4b443ad34e52dbbfe187d2116b515e08d9180283beaec
|
|
| MD5 |
cf17c8898dc6f0292a979927f1fe5ceb
|
|
| BLAKE2b-256 |
889e41686ad22b7afa265f45b10bd70f7355412aaca631935186fe16dfa268ff
|
File details
Details for the file pythonat_instalib-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pythonat_instalib-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5d8c9944bb0be744824edbb34ee391c91491580eaf5033dbbd028f74296076a
|
|
| MD5 |
cb68e094794cad44325c2a8f67bfd992
|
|
| BLAKE2b-256 |
82da6f28198511973e4747e69aae1e5e726e4a548cf817b7ff757e9e2b630eb9
|