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.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

insta_fetcher-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: insta_fetcher-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 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.0.tar.gz
Algorithm Hash digest
SHA256 05ffe39eee44bcedd72b8495efe5fe771963c6bd0c87efb9ff363cb8b143a853
MD5 4853bd2e409b91eb2ccfd2d68064b1c5
BLAKE2b-256 e6ef39e42b164d591baaab1d8761342f30314c3531877c88e127186d10ec90cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for insta_fetcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a005b44c843b6f56bd94bebdd6603b92910728e1c41d78a43a5b851503037de
MD5 c3c2a51dbe6e996e3ae2635068ea3af2
BLAKE2b-256 1e94cb66827b41947ec0b4ee5d2744b474ffdce5232f65d61ead4d5e8dbfad97

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