Giter Site home page Giter Site logo

instagram-postlink-scraper's Introduction

About the Script:

This script uses the concurrent.futures module to implement multithreading. It uses the Instaloader class from the instaloader module to interact with Instagram. The script logs in to Instagram using the provided username and password. It then defines a process_profile function that processes each profile and writes the post URL to a file. The script opens the users.txt file and creates a ThreadPoolExecutor to execute multiple threads concurrently. For each profile in the users.txt file, the process_profile function is submitted to the executor. The process_profile function processes each profile and writes the post URL to a file. This allows the script to process multiple profiles concurrently, speeding up the process. If the profile does not exist, or if the profile does not have any posts, the process_profile function simply returns without doing anything. This script can be used to quickly process a large number of Instagram profiles and write their post URLs to a file. The ThreadPoolExecutor is used to execute multiple threads concurrently, which speeds up the process. The process_profile function is called for each profile in the users.txt file, and it writes the post URL to a file. The process_profile function also handles exceptions for profiles that do not exist or do not have any posts. This script provides a simple and efficient way to process a large number of Instagram profiles and write their post URLs to a file.

In one line : This script uses multithreading to concurrently process multiple Instagram profiles, logs in to Instagram using provided credentials, reads profiles from a file, processes each profile, and writes the post URL for each profile to a file.

.

Screenshot

How to install?

pip install -r requirements

How to run?

Run the main script called script.py

Created By Orel Mizrahi Adani

Useful Links:

Download Python : https://www.python.org/ Install Pip : https://pypi.org/project/pip/

Linkedin : https://www.linkedin.com/in/orelmizrahiadani/ Github : https://github.com/orelmizrahii

instagram-postlink-scraper's People

Contributors

bazzsystems 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.