All Projects → realsirjoe → Instagram Scraper

realsirjoe / Instagram Scraper

Licence: mit
scrapes medias, likes, followers, tags and all metadata. Inspired by instagram-php-scraper,bot

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Instagram Scraper

Onegram
This repository is no longer maintained.
Stars: ✭ 137 (-93.8%)
Mutual labels:  bot, crawler, scraper, instagram
Instagram Crawler
Crawl instagram photos, posts and videos for download.
Stars: ✭ 178 (-91.94%)
Mutual labels:  crawler, scraper, instagram
Socialmanagertools Gui
🤖 👻 Desktop application for Instagram Bot, Twitter Bot and Facebook Bot
Stars: ✭ 293 (-86.74%)
Mutual labels:  bot, scraper, instagram
InstagramLocationScraper
No description or website provided.
Stars: ✭ 13 (-99.41%)
Mutual labels:  instagram, scraper, scrape
Autoscraper
A Smart, Automatic, Fast and Lightweight Web Scraper for Python
Stars: ✭ 4,077 (+84.56%)
Mutual labels:  crawler, scraper, scrape
Instagram Bot
An Instagram bot developed using the Selenium Framework
Stars: ✭ 138 (-93.75%)
Mutual labels:  bot, crawler, instagram
Media Scraper
Scrapes all photos and videos in a web page / Instagram / Twitter / Tumblr / Reddit / pixiv / TikTok
Stars: ✭ 206 (-90.67%)
Mutual labels:  crawler, scraper, instagram
Scrapit
Scraping scripts for various websites.
Stars: ✭ 25 (-98.87%)
Mutual labels:  bot, crawler, scraper
Social Scraper
Tổng hợp script crawl dữ liệu từ các mạng xã hội & website tiếng Việt
Stars: ✭ 47 (-97.87%)
Mutual labels:  crawler, scraper, instagram
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-96.42%)
Mutual labels:  bot, scraper, instagram
Instagram Profilecrawl
💻 Quickly crawl the information (e.g. followers, tags, etc...) of an instagram profile. No login required!
Stars: ✭ 110 (-95.02%)
Mutual labels:  crawler, instagram
Not Your Average Web Crawler
A web crawler (for bug hunting) that gathers more than you can imagine.
Stars: ✭ 107 (-95.16%)
Mutual labels:  crawler, scraper
Instagram Bot Dm
Instagram bot to send direct messages
Stars: ✭ 101 (-95.43%)
Mutual labels:  bot, instagram
Instagram Bot Cs
Instagram bot write on C#
Stars: ✭ 95 (-95.7%)
Mutual labels:  bot, instagram
Instagram Python Scraper
A instagram scraper wrote in python. Similar to instagram-php-scraper.Usages are in example.py. Enjoy it!
Stars: ✭ 115 (-94.79%)
Mutual labels:  scraper, instagram
Google Play Scraper
Node.js scraper to get data from Google Play
Stars: ✭ 1,606 (-27.3%)
Mutual labels:  crawler, scraper
Moodle Downloader 2
A Moodle downloader that downloads course content fast from Moodle (eg. lecture pdfs)
Stars: ✭ 118 (-94.66%)
Mutual labels:  bot, crawler
Instalike Instagram Bot
automate instagram activities using instagram bot - like follow/unfollow comment; python requests lib
Stars: ✭ 128 (-94.21%)
Mutual labels:  bot, instagram
Newspaper
News, full-text, and article metadata extraction in Python 3. Advanced docs:
Stars: ✭ 11,545 (+422.63%)
Mutual labels:  crawler, scraper
Scrapoxy
Scrapoxy hides your scraper behind a cloud. It starts a pool of proxies to send your requests. Now, you can crawl without thinking about blacklisting!
Stars: ✭ 1,322 (-40.15%)
Mutual labels:  crawler, scraper

instagram_scraper

This is a minimalistic Instagram scraper written in Python.

It can fetch media, accounts, videos, comments etc. `Comment` and `Like` actions are also supported.

It is not easy to get Applications approved for Instagram's API therefore I created this tool inspired by instagram-php-scraper.

The goal of this project is to become as minimalistic as possible while still having all the needed functionality so that its easy to add code to it!

Any ⭐️ or contribution is appreciated if you like the project 🤘

How to install

Simply run:

pip install igramscraper

or download the project via git clone and run the following:

pip install -r requirements.txt

Usages

Some methods do require authentication:

from igramscraper.instagram import Instagram

instagram = Instagram()

# authentication supported
instagram.with_credentials('username', 'password')
instagram.login()

#Getting an account by id
account = instagram.get_account_by_id(3)

# Available fields
print('Account info:')
print('Id: ', account.identifier)
print('Username: ', account.username)
print('Full name: ', account.full_name)
print('Biography: ', account.biography)
print('Profile pic url: ', account.get_profile_picture_url())
print('External Url: ', account.external_url)
print('Number of published posts: ', account.media_count)
print('Number of followers: ', account.followed_by_count)
print('Number of follows: ', account.follows_count)
print('Is private: ', account.is_private)
print('Is verified: ', account.is_verified)

# or simply for printing use 
print(account)

If you use authentication, the program will cache the user session by default so one doesn't need to create session every time.
If one want to disable the user session cache, assign True to Instagram.login() method

Two Factor Authentication is also supported through cli interface, simply use 'True' for second argument of login() function

Many of the methods do not require authentication

for more info browse through the examples folder

Using proxy for requests:

from igramscraper.instagram import Instagram 

proxies = {
    'http': 'http://123.45.67.8:1087',
    'https': 'http://123.45.67.8:1087',
}

instagram = Instagram()
instagram.set_proxies(proxies)

account = instagram.get_account('kevin')
print(account.identifier)

Recommended Limits

If you make too many requests too fast you will get a 429 Error or something similar.

  • It is recommended to make a short break between each request of 30s (+- random)
  • In between all 10 requests a long break (300-600s)

If different proxies and accounts are used for all requests and the circle doesn't repeat too fast these limits don't apply ;)

Feel free to make your own tests and let us know of any limits you experienced

More usages

See examples here.

How to contribute

Every contribution is welcome, check out our TODOs
and join our telegram group: https://t.me/joinchat/J86yTBAtZlEi-6T6LOxijw

Other

instagram-php-scraper here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].