Skip to main content

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

  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.

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

insta_fetcher-0.1.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

insta_fetcher-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file insta_fetcher-0.1.2.tar.gz.

File metadata

  • Download URL: insta_fetcher-0.1.2.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

Hashes for insta_fetcher-0.1.2.tar.gz
Algorithm Hash digest
SHA256 093d8f06199df511322c545b19694a5aac494544959d24879629e41341c58640
MD5 e2a1ae3298d887ad5a2e8d900843ca18
BLAKE2b-256 cb80c72f9e38bc3d3ed23f41669f1f23b99212fef3a6494a27e9a21bd6e09a6c

See more details on using hashes here.

File details

Details for the file insta_fetcher-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for insta_fetcher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db5f4c6aaf069f4083f351283c2156374ec20bdbe46df6ad7ceb9336457a2d4f
MD5 64b61168bf1fd59e081fa7c2d1ebd022
BLAKE2b-256 5eafceab024cd1fd8faf522c83bff4f56e517bff01cf619ad2542d53d7008f10

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