A script to fetch and organize Instagram data using instaloader
Project description
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.gz
files if present - Automatically installs
instaloader
if 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.
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
insta_fetcher-0.1.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file insta_fetcher-0.1.1.tar.gz
.
File metadata
- Download URL: insta_fetcher-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f860506f271c198780dd4b330d58d760dede14afee9185a2efbf869fef5c85 |
|
MD5 | 0f9ba0437d67e0f7362ce362870145f6 |
|
BLAKE2b-256 | 204213a08f2e94bab6d2680d484a597a275f5abb3a181045dd9f8c185a3fc3a6 |
File details
Details for the file insta_fetcher-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: insta_fetcher-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7dd0a6b86cdee3c0fd80cfba109c66cc1e95886136700488538a81ec249e4ac |
|
MD5 | 4928c2b39784936bf95711cbc78e0e01 |
|
BLAKE2b-256 | 61fd3e4d912cd99f816ababe5784baa62a0a96d0412ac0b1cb1feb8b6d319651 |