Skip to main content

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

  1. Clone the repository:
git clone https://github.com/IvesLiu1026/insta-fetcher.git
cd insta-fetcher
  1. Create and activate a virtual environment (recommended):
python3 -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. 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)

Source distribution for insta-fetcher 0.1.2
File Size Uploaded
insta_fetcher-0.1.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for insta-fetcher 0.1.2
File Interpreter ABI Platform
insta_fetcher-0.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page