Scraping followers of an instagram account

Overview

ScrapInsta

A script to scraping data from Instagram

Install

First of all you can run:

pip install scrapinsta

After that you need to install these requirements:

    You can install one-by-one:
  • selenium
    pip install selenium
  • webdriver_manager
    pip install webdriver_manager
  • cryptography
    pip install cryptography
  • Or install by requirements.txt
  • pip install -r requirements.txt

Scraping user followers

Usage

  1. from scrapinsta import Scrapinsta and instantiate

  2. Call function Scrapinsta.get_user_follower(account, amount, method, print_followers)

    account: Account which want to get user followers
    amount: Number of followers to scraping
    method: By default is 'list'(returns a list), but can be 'txt' this will write a .txt with user followers
    print_followers: By default is 'false'(don't print followers), but can be 'true' this will print followers

    Example code:
     
        from scrapinsta import Scrapinsta
    account = 'nasa' # Account to get info amount = 50
    # Instantiate Scrapinsta s = Scrapinsta()
    # Testing: method = 'list' list_followers = s.get_user_followers(account, amount, method='list', print_followers='true')
    # Testing: method = 'txt' s.get_user_followers(account, amount, method='txt', print_followers='true')

Scraping user following account

Usage

  1. from scrapinsta import Scrapinsta and instantiate

  2. Call function Scrapinsta.get_user_followings(account, amount, method, print_following)

    account: Account which wants to get followed users
    amount: Number of followed users to scraping
    method: By default is 'list'(returns a list), but can be 'txt' this will write a .txt with followed users
    print_following: By default is 'false'(don't print followed users), but can be 'true', this will print followed users

    Example code:
     
        from scrapinsta import Scrapinsta
    account = 'nasa' # Account to get info amount = 50
    # Instantiate Scrapinsta s = Scrapinsta()
    # Testing: method = 'list' list_following = s.get_user_followings(account, amount, method='list', print_following='true') # Testing: method = 'txt' s.get_user_followings(account, amount, method='txt', print_following='true')

Contact:

LinkedIn

Twitter

Instagram

E-mail

Owner
Matheus Kolln
Computer Engineering student at UFSC (Universidade Federal de Santa Catarina - Brasil). be happy coding :)
Matheus Kolln
Web Scraping COVID 19 Meta Portal with Python

Web-Scraping-COVID-19-Meta-Portal-with-Python - Requests API and Beautiful Soup to scrape real-time COVID statistics from worldometer website and perform data cleaning and visual analysis in Jupyter

Aarif Munwar Jahan 1 Jan 04, 2022
Dude is a very simple framework for writing web scrapers using Python decorators

Dude is a very simple framework for writing web scrapers using Python decorators. The design, inspired by Flask, was to easily build a web scraper in just a few lines of code. Dude has an easy-to-lea

Ronie Martinez 326 Dec 15, 2022
Comment Webpage Screenshot is a GitHub Action that captures screenshots of web pages and HTML files located in the repository

Comment Webpage Screenshot is a GitHub Action that helps maintainers visually review HTML file changes introduced on a Pull Request by adding comments with the screenshots of the latest HTML file cha

Maksudul Haque 21 Sep 29, 2022
A high-level distributed crawling framework.

Cola: high-level distributed crawling framework Overview Cola is a high-level distributed crawling framework, used to crawl pages and extract structur

Xuye (Chris) Qin 1.5k Dec 24, 2022
A distributed crawler for weibo, building with celery and requests.

A distributed crawler for weibo, building with celery and requests.

SpiderClub 4.8k Jan 03, 2023
Web-scraping - Program that scrapes a website for a collection of quotes, picks one at random and displays it

web-scraping Program that scrapes a website for a collection of quotes, picks on

Manvir Mann 1 Jan 07, 2022
mlscraper: Scrape data from HTML pages automatically with Machine Learning

🤖 Scrape data from HTML websites automatically with Machine Learning

Karl Lorey 798 Dec 29, 2022
Scrapes all articles and their headlines from theonion.com

The Onion Article Scraper Scrapes all articles and their headlines from the satirical news website https://www.theonion.com Also see Clickhole Article

0 Nov 17, 2021
Audio media crawler for lbry.

Audio media crawler for lbry. Requirements Python 3.8 Poetry 1.1.7 Elasticsearch 7.14.0 Lbry-sdk 0.99.0 Development This project uses poetry as a depe

Hound.fm 4 Dec 03, 2022
a Scrapy spider that utilizes Postgres as a DB, Squid as a proxy server, Redis for de-duplication and Splash to render JavaScript. All in a microservices architecture utilizing Docker and Docker Compose

This is George's Scraping Project To get started cd into the theZoo file and run: chmod +x script.sh then: ./script.sh This will spin up a Postgres co

George Reyes 7 Nov 27, 2022
This repo has the source code for the crawler and data crawled from auto-data.net

This repo contains the source code for crawler and crawled data of cars specifications from autodata. The data has roughly 45k cars

Tô Đức Anh 5 Nov 22, 2022
Google Developer Profile Badge Scraper

Google Developer Profile Badge Scraper It is a Google Developer Profile Web Scraper which scrapes for specific badges in a user's Google Developer Pro

Hemant Sachdeva 2 Feb 22, 2022
A Spider for BiliBili comments with a simple API server.

BiliComment A spider for BiliBili comment. Spider Usage Put config.json into config directory, and then python . ./config/config.json. A example confi

Hao 3 Jul 05, 2021
Extract embedded metadata from HTML markup

extruct extruct is a library for extracting embedded metadata from HTML markup. Currently, extruct supports: W3C's HTML Microdata embedded JSON-LD Mic

Scrapinghub 725 Jan 03, 2023
A repository with scraping code and soccer dataset from understat.com.

UNDERSTAT - SHOTS DATASET As many people interested in soccer analytics know, Understat is an amazing source of information. They provide Expected Goa

douglasbc 48 Jan 03, 2023
Example of scraping a paginated API endpoint and dumping the data into a DB

Provider API Scraper Example Example of scraping a paginated API endpoint and dumping the data into a DB. Pre-requisits Python = 3.9 Pipenv Setup # i

Alex Skobelev 1 Oct 20, 2021
Amazon scraper using scrapy, a python framework for crawling websites.

#Amazon-web-scraper This is a python program, which use scrapy python framework to crawl all pages of the product and scrap products data. This progra

Akash Das 1 Dec 26, 2021
A package that provides you Latest Cyber/Hacker News from website using Web-Scraping.

cybernews A package that provides you Latest Cyber/Hacker News from website using Web-Scraping. Latest Cyber/Hacker News Using Webscraping Developed b

Hitesh Rana 4 Jun 02, 2022
Snowflake database loading utility with Scrapy integration

Snowflake Stage Exporter Snowflake database loading utility with Scrapy integration. Meant for streaming ingestion of JSON serializable objects into S

Oleg T. 0 Dec 06, 2021
Newsscraper - A simple Python 3 module to get crypto or news articles and their content from various RSS feeds.

NewsScraper A simple Python 3 module to get crypto or news articles and their content from various RSS feeds. 🔧 Installation Clone the repo locally.

Rokas 3 Jan 02, 2022