Skip to main content

Fetch resources from Instagram

Reason this release was yanked:

Missing dependencies required to run

Project description

BasketCase

Fetch resources from Instagram.

Main dependencies

  • requests
  • youtube-dl
  • Pillow

Development setup

  1. Create a virtual environment with venv and cd to the root directory of the project.
  2. Ensure pip is up-to-date
pip install --upgrade pip
  1. Install the dependencies.
pip install -r requirements.txt
  1. Install the package in editable mode
pip install -e .

Usage

Create a text file (e.g. urls.txt) and populate it with resource URLs:

https://www.instagram.com/p/<post_id>/
https://www.instagram.com/p/<post_id>/
https://www.instagram.com/p/<post_id>/
https://www.instagram.com/p/<post_id>/

Pipe the file to the script, passing the session cookie as its argument.

cat urls.txt | basketcase <session_cookie>

Downloaded resources will be stored in the current working directory (i.e. $PWD/basketcase/).

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

basketcase-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

basketcase-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file basketcase-0.0.1.tar.gz.

File metadata

  • Download URL: basketcase-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for basketcase-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5931505d39a048e85886c9503c09db8c3d2f6cb9272a6a3b410fca9c49921378
MD5 5a6a43501cf0fc9bea3b573ac7b4c082
BLAKE2b-256 d9df89f8a3abb48d2c5507991bca702593040b4f027c4f9d236e9fe16f0b1892

See more details on using hashes here.

File details

Details for the file basketcase-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: basketcase-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for basketcase-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6bf59d1b4ab3104c690de27a9d767131989b24b5a3e6b1dda7f771c4e6b70d8b
MD5 013ca99fc128bc09d0e02d26cdecc9ba
BLAKE2b-256 df0364d116b635a21bddaa2267a5d3944a3ad1f515e50b363df45534094c348f

See more details on using hashes here.

Supported by

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