Insta Fetcher
Insta Fetcher is a Python tool designed to fetch and organize Instagram data using instaloader. This script automates the process of downloading posts from an Instagram account, organizing them by date, and extracting any .tar.gz files.
Features
- Fetch Instagram posts using instaloader
- Automatically organize downloaded files into date-based directories
- Extract
.tar.gzfiles if present - Automatically installs
instaloaderif not already installed
Installation
Prerequisites
- Python 3.6 or higher
- pip
Steps
- Clone the repository:
git clone https://github.com/IvesLiu1026/insta-fetcher.git
cd insta-fetcher
- Create and activate a virtual environment (recommended):
python3 -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the package:
pip install -e .
Usage
To fetch and organize Instagram data, use the following command:
insta_fetcher -a INSTAGRAM_ACCOUNT
Replace INSTAGRAM_ACCOUNT with the username of the Instagram account you want to download data from.
Example
insta_fetcher -a instagram
Project Structure
- insta_fetcher/:
- init.py: Initializes the package.
- ins_fetcher.py: Main script to fetch and organize Instagram data.
- README.md: This file.
- setup.py: Setup script for installing the package.
Metadata
Release files for insta-fetcher 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| insta_fetcher-0.1.2.tar.gz | 3.0 kB | Without provenance | Details for insta_fetcher-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| insta_fetcher-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for insta_fetcher-0.1.2-py3-none-any.whl |
Total release size: 6.5 kB
Release files / insta_fetcher-0.1.2.tar.gz
| Download URL | insta_fetcher-0.1.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
093d8f06199df511322c545b19694a5aac494544959d24879629e41341c58640
|
|
BLAKE2b-256 checksum How to use checksums |
cb80c72f9e38bc3d3ed23f41669f1f23b99212fef3a6494a27e9a21bd6e09a6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / insta_fetcher-0.1.2-py3-none-any.whl
| Download URL | insta_fetcher-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db5f4c6aaf069f4083f351283c2156374ec20bdbe46df6ad7ceb9336457a2d4f
|
|
BLAKE2b-256 checksum How to use checksums |
5eafceab024cd1fd8faf522c83bff4f56e517bff01cf619ad2542d53d7008f10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for insta-fetcher 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.