Coder Social home page Coder Social logo

inscrap's Introduction

Instagram Post Downloader and Categorizer

This project downloads Instagram posts and categorizes them based on image and caption analysis using three scripts: insta.py, generator.py, and run_all.py.

Features

Download Instagram Posts: insta.py fetches and downloads images from a specified Instagram profile and saves metadata in JSON format. Categorize Posts: generator.py analyzes downloaded images and captions to categorize them into different folders. Sequential Execution: run_all.py manages the sequential execution of both scripts with a single user input.

Dependencies

Install the necessary Python libraries: pip install instaloader opencv-python nltk

Download additional nltk data:

import nltk nltk.download('punkt') nltk.download('stopwords') nltk.download('wordnet')

Usage

  1. Clone the Repository

git clone https://github.com/sagarrh/inscrap.git cd inscrap

  1. Run the Wrapper Script

python runner.py

  1. Follow the Prompts Enter the following information when prompted:

Instagram username Filename for metadata (e.g., user_posts.json) Folder name for posts (e.g., downloaded_posts) Folder name for categorized posts (e.g., categorized_posts)

Notes

Works only for public accouts Ensure you have permissions to download content from Instagram. Categorization is basic and might need enhancements for better accuracy

inscrap's People

Contributors

sagarrh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.