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
--maxparameter) - Scrolled to end of profile/tag
- Install dependencies
yarn install - Launch a Chrome session with
--remote-debugging-port=9222specified. - Run instagram-scrape
node instagram-scrape.jswith 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)