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
- Create a virtual environment with
venv
andcd
to the root directory of the project. - Ensure
pip
is up-to-date
pip install --upgrade pip
- Install the dependencies.
pip install -r requirements.txt
- 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
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
basketcase-0.0.1.tar.gz
(3.5 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5931505d39a048e85886c9503c09db8c3d2f6cb9272a6a3b410fca9c49921378 |
|
MD5 | 5a6a43501cf0fc9bea3b573ac7b4c082 |
|
BLAKE2b-256 | d9df89f8a3abb48d2c5507991bca702593040b4f027c4f9d236e9fe16f0b1892 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bf59d1b4ab3104c690de27a9d767131989b24b5a3e6b1dda7f771c4e6b70d8b |
|
MD5 | 013ca99fc128bc09d0e02d26cdecc9ba |
|
BLAKE2b-256 | df0364d116b635a21bddaa2267a5d3944a3ad1f515e50b363df45534094c348f |