All Projects → luengwaiban → Instagram Python Scraper

luengwaiban / Instagram Python Scraper

Licence: mit
A instagram scraper wrote in python. Similar to instagram-php-scraper.Usages are in example.py. Enjoy it!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Instagram Python Scraper

Socialmanagertools Gui
🤖 👻 Desktop application for Instagram Bot, Twitter Bot and Facebook Bot
Stars: ✭ 293 (+154.78%)
Mutual labels:  scraper, instagram
Instagram Crawler
Get Instagram posts/profile/hashtag data without using Instagram API
Stars: ✭ 643 (+459.13%)
Mutual labels:  scraper, instagram
Osi.ig
Information Gathering Instagram.
Stars: ✭ 377 (+227.83%)
Mutual labels:  scraper, instagram
bot
Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
Stars: ✭ 321 (+179.13%)
Mutual labels:  instagram, scraper
Skraper
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, IFunny, VK, Pikabu)
Stars: ✭ 72 (-37.39%)
Mutual labels:  scraper, instagram
SocialInfo4J
fetch data from Facebook, Instagram and LinkedIn
Stars: ✭ 44 (-61.74%)
Mutual labels:  instagram, scraper
Instagram4j
📷 Instagram private API in Java
Stars: ✭ 629 (+446.96%)
Mutual labels:  scraper, instagram
Instagram-to-discord
Monitor instagram user account and automatically post new images to discord channel via a webhook. Working 2022!
Stars: ✭ 113 (-1.74%)
Mutual labels:  instagram, scraper
Scrapstagram
An Instagram Scrapper
Stars: ✭ 50 (-56.52%)
Mutual labels:  scraper, instagram
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 (-59.13%)
Mutual labels:  scraper, instagram
django-instagram
Instagram application for Django.
Stars: ✭ 73 (-36.52%)
Mutual labels:  instagram, scraper
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-31.3%)
Mutual labels:  scraper, instagram
Instagram-Comments-Scraper
Instagram comment scraper using python and selenium. Save the comments into excel.
Stars: ✭ 73 (-36.52%)
Mutual labels:  instagram, scraper
Instagram-Scraper-2021
Scrape Instagram content and stories anonymously, using a new technique based on the har file (No Token + No public API).
Stars: ✭ 57 (-50.43%)
Mutual labels:  instagram, scraper
InstagramLocationScraper
No description or website provided.
Stars: ✭ 13 (-88.7%)
Mutual labels:  instagram, scraper
Instagram Scraper
Scrapes an instagram user's photos and videos
Stars: ✭ 5,664 (+4825.22%)
Mutual labels:  scraper, instagram
instagram-hashtag-scraper
NodeJS application for scraping recent top posts from Instagram by hashtag without API access.
Stars: ✭ 17 (-85.22%)
Mutual labels:  instagram, scraper
instagram-get-images
Instagram get images 🌄 (hashtags, account, locations) with puppeteer
Stars: ✭ 69 (-40%)
Mutual labels:  instagram, scraper
Public Instagram
Tool to fetch Instagram's public content.
Stars: ✭ 43 (-62.61%)
Mutual labels:  scraper, instagram
Instascrape
🚀 A fast and lightweight utility and Python library for downloading posts, stories, and highlights from Instagram.
Stars: ✭ 76 (-33.91%)
Mutual labels:  scraper, instagram

instagram-python-scraper

this repo is now merging with realsirjoe/instagram-scraper, get latest version at 👉 instagram-scraper 👈

A instagram scraper wrote in python.Get medias, account, videos, comments without authentication.Comment and like action also supported.
Similar to instagram-php-scraper. Enjoy it! ☺️
**Any star or contribution would be appreciated if it is helpful for you ~** 🙋‍♂️🌚

install

You can simply run this command:

pip install instagram-python-scraper

Or you can also download it directly and install the libs that recorded in require.txt first.
Run the command below:

pip install -r requirements.txt

usages

Some methods require authentication:

from instagram_scraper.instagram import InstagramScraper

instagram = InstagramScraper()

# authentication supported
instagram.with_credentials('your account', 'your password')
res = instagram.login()

followers = instagram.get_followers('206034174', 20, 20, True)
print(followers[0])

If you use authentication the program will cache the user session by default so that you don't need to gain session everytime.
But if you want to disable the user session cache, just assign True to login() method:

from instagram_scraper.instagram import InstagramScraper

instagram = InstagramScraper()

instagram.with_credentials('your account', 'your password')
res = instagram.login(True)

Besides, account verification is also supported by default. When a account verification is needed, you will receive a active code by email or something and you should then input the code in terminal to finish verification.

Many of the methods do not require authentication:

from instagram_scraper.instagram import InstagramScraper

instagram = InstagramScraper()

account = instagram.get_account('shaq')
account_id = account.get_id()
print(account._id)

Using proxy for requests:

from instagram_scraper.instagram import InstagramScraper

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

instagram = InstagramScraper()
instagram.set_proxies(proxies)

account = instagram.get_account('shaq')
account_id = account.get_id()
print(account._id)

more usages

See more usages

once again:
**Any star or contribution would be appreciated if it is helpful for you ~** 🙋‍♂️🌚

other

php library:https://github.com/postaddictme/instagram-php-scraper

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