Scraper for Instagram built on Chromeless.
Script continuously scrolls until it reaches a specified end condition (optional), creating a file in the scraped-urls
directory that contains links for images.
- Link limit reached (specified by
--max
parameter) - Scrolled to end of profile/tag
- Install dependencies
yarn install
- Launch a Chrome session with
--remote-debugging-port=9222
specified. - Run instagram-scrape
node instagram-scrape.js
with parameters specified.
--user
: Profile name to scrape--tag
: Tag to scrape--url
: URL of a page to scrape
(One is required)
--max
: Maximum links to scrape (Optional)