Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apanjwani0/scrape-instagram
This is a basic web-scraping tool for Instagram-users.
https://github.com/apanjwani0/scrape-instagram
instagram instagram-users javascript nodejs puppeteer scraper scrapper
Last synced: about 3 hours ago
JSON representation
This is a basic web-scraping tool for Instagram-users.
- Host: GitHub
- URL: https://github.com/apanjwani0/scrape-instagram
- Owner: apanjwani0
- License: mit
- Created: 2020-11-23T16:10:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-13T15:40:08.000Z (about 3 years ago)
- Last Synced: 2024-07-30T20:07:25.364Z (3 months ago)
- Topics: instagram, instagram-users, javascript, nodejs, puppeteer, scraper, scrapper
- Language: JavaScript
- Homepage:
- Size: 689 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scrape-Instagram
This is a basic web-scraping tool for Instagram-users.
## Current Feature includes :
1) Download all Post of any Public Profile.
2) ..## Description :
Enter any Public Profile username, and download a zip of all posts of that profile.
Title of that post-pic will be the Date+(number of people in that post, calculated by Instagram's AI model).## Flow :
1) Takes username as input
2) Checks for an existing Zip file with that username -> if yes, downloads that file in browser
3) Sets-up Puppeteer to launch
4) Opens 'https://www.instagram.com/{username}'
5) Checks if the account is private -> if yes, ends process
6) Scrolls through all posts and maps img.src with img.alt
7) Creates a name for that post with img.alt
8) Downloads all posts and stores them in './images/{username} -{numberOfPosts} posts'
9) Create a {username}.zip of that images folder
10) Deletes Images Folder
11) Redirects page to '/{username}.zip'
12) Browser Downloads that zip file### Tech :
Node.js- Puppeteer,Axios,Express