Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythonat-instalib-1.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonat_instalib-1.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

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

Hashes for pythonat-instalib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ea8148daf83a83ffa1c4b443ad34e52dbbfe187d2116b515e08d9180283beaec
MD5 cf17c8898dc6f0292a979927f1fe5ceb
BLAKE2b-256 889e41686ad22b7afa265f45b10bd70f7355412aaca631935186fe16dfa268ff

See more details on using hashes here.

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

Hashes for pythonat_instalib-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5d8c9944bb0be744824edbb34ee391c91491580eaf5033dbbd028f74296076a
MD5 cb68e094794cad44325c2a8f67bfd992
BLAKE2b-256 82da6f28198511973e4747e69aae1e5e726e4a548cf817b7ff757e9e2b630eb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page