huaying / Instagram Crawler
Licence: mit
Get Instagram posts/profile/hashtag data without using Instagram API
Stars: ✭ 643
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Instagram Crawler
Instagram Crawler
Crawl instagram photos, posts and videos for download.
Stars: ✭ 178 (-72.32%)
Mutual labels: scraper, instagram, instagram-scraper
Scrapstagram
An Instagram Scrapper
Stars: ✭ 50 (-92.22%)
Mutual labels: scraper, instagram, 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 (-91.14%)
Mutual labels: instagram, scraper, instagram-scraper
InstagramLocationScraper
No description or website provided.
Stars: ✭ 13 (-97.98%)
Mutual labels: instagram, scraper, instagram-scraper
instagram-get-images
Instagram get images 🌄 (hashtags, account, locations) with puppeteer
Stars: ✭ 69 (-89.27%)
Mutual labels: instagram, scraper, instagram-scraper
Instagram Proxy Api
CORS compliant API to access Instagram's public data
Stars: ✭ 245 (-61.9%)
Mutual labels: scraper, instagram, instagram-scraper
Instagram Scraper
Scrapes an instagram user's photos and videos
Stars: ✭ 5,664 (+780.87%)
Mutual labels: scraper, instagram, instagram-scraper
Osi.ig
Information Gathering Instagram.
Stars: ✭ 377 (-41.37%)
Mutual labels: scraper, instagram, instagram-scraper
Instagram-to-discord
Monitor instagram user account and automatically post new images to discord channel via a webhook. Working 2022!
Stars: ✭ 113 (-82.43%)
Mutual labels: instagram, scraper, instagram-scraper
Instagram-Comments-Scraper
Instagram comment scraper using python and selenium. Save the comments into excel.
Stars: ✭ 73 (-88.65%)
Mutual labels: instagram, scraper, instagram-scraper
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 (-50.08%)
Mutual labels: instagram, scraper
InstantInsta
Android Application To Download and Manage Instagram Images And Videos
Stars: ✭ 47 (-92.69%)
Mutual labels: instagram, instagram-scraper
django-instagram
Instagram application for Django.
Stars: ✭ 73 (-88.65%)
Mutual labels: instagram, scraper
SocialInfo4J
fetch data from Facebook, Instagram and LinkedIn
Stars: ✭ 44 (-93.16%)
Mutual labels: instagram, scraper
instagram-go-scraper
Instagram Scraper for Go
Stars: ✭ 33 (-94.87%)
Mutual labels: instagram, instagram-scraper
igFame
📷 igFame - Tool for automated Instagram interactions [PHP]
Stars: ✭ 16 (-97.51%)
Mutual labels: instagram, instagram-scraper
Bibliogram
An alternative front-end for Instagram.
Stars: ✭ 281 (-56.3%)
Mutual labels: instagram, instagram-scraper
nanogram.js
📷 An easy-to-use and simple Instagram package that allows you to fetch media content without API and access token.
Stars: ✭ 62 (-90.36%)
Mutual labels: instagram, instagram-scraper
Instamancer
Scrape Instagram's API with Puppeteer
Stars: ✭ 273 (-57.54%)
Mutual labels: instagram, instagram-scraper
Python Automation Scripts
Simple yet powerful automation stuffs.
Stars: ✭ 292 (-54.59%)
Mutual labels: instagram, instagram-scraper
Instagram Crawler
Below is what you can do with this program:
- Get Instagram posts/profile/hashtag data without using Instagram API.
crawler.py
- Like posts automatically.
liker.py
This crawler could fail due to updates on instagram’s website. If you encounter any problems, please contact me.
Install
- Make sure you have Chrome browser installed.
- Download chromedriver and put it into bin folder:
./inscrawler/bin/chromedriver
- Install Selenium:
pip3 install -r requirements.txt
cp inscrawler/secret.py.dist inscrawler/secret.py
User Auth
- Open
inscrawler/secret.py
file. - Change the
username
andpassword
variables' value to the ones corresponding to your Instagram account.
username = 'my_ig_username'
password = '***********'
Crawler
Usage
positional arguments:
mode
options: [posts, posts_full, profile, hashtag]
optional arguments:
-n NUMBER, --number NUMBER
number of returned posts
-u USERNAME, --username USERNAME
instagram's username
-t TAG, --tag TAG instagram's tag name
-o OUTPUT, --output OUTPUT
output file name(json format)
--debug see how the program automates the browser
--fetch_comments fetch comments
# Turning on the flag might take forever to fetch data if there are too many commnets.
--fetch_likes_plays fetch like/play number
--fetch_likers fetch all likers
# Instagram might have rate limit for fetching likers. Turning on the flag might take forever to fetch data if there are too many likes.
--fetch_mentions fetch users who are mentioned in the caption/comments (startwith @)
--fetch_hashtags fetch hashtags in the caption/comments (startwith #)
--fetch_details fetch username and photo caption
# only available for "hashtag" search
Example
python crawler.py posts_full -u cal_foodie -n 100 -o ./output
python crawler.py posts_full -u cal_foodie -n 10 --fetch_likers --fetch_likes_plays
python crawler.py posts_full -u cal_foodie -n 10 --fetch_comments
python crawler.py profile -u cal_foodie -o ./output
python crawler.py hashtag -t taiwan -o ./output
python crawler.py hashtag -t taiwan -o ./output --fetch_details
python crawler.py posts -u cal_foodie -n 100 -o ./output # deprecated
- Choose mode
posts
, you will get url, caption, first photo for each post; choose modeposts_full
, you will get url, caption, all photos, time, comments, number of likes and views for each posts. Modeposts_full
will take way longer than modeposts
. [posts
is deprecated. For the recent posts, there is no quick way to get the post caption] - Return default 100 hashtag posts(mode: hashtag) and all user's posts(mode: posts) if not specifying the number of post
-n
,--number
. - Print the result to the console if not specifying the output path of post
-o
,--output
. - It takes much longer to get data if the post number is over about 1000 since Instagram has set up the rate limit for data request.
- Don't use this repo crawler Instagram if the user has more than 10000 posts.
The data format of posts_full
:
Liker
Set up your username/password in secret.py
or set them as environment variables.
Usage
positional arguments:
tag
optional arguments:
-n NUMBER, --number NUMBER (default 1000)
number of posts to like
Example
python liker.py foodie
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].