This repository was archived by the owner on Jun 22, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Instagram Posts
Omri Bornstein edited this page Mar 4, 2020
·
2 revisions
Command for scraping Instagram post files.
- You should use this software with responsibility and with accordance to Instagram's terms of use:
- You can't attempt to create accounts or access or collect information in unauthorized ways. This includes creating accounts or collecting information in an automated way without our express permission.
- Run
$ scr login --instagram. - Type your Instagram username in the
username:input. - Type your Instagram password in the
password:input. - Wait until
> Log-in successful.is printed.
$ scr instagram POST
-
-h,--headless: Toggle for background scraping.
- The user puts Instagram credentials ahead of post scraping.
- The Chromium bot will remember the credentials entered the login form of the selected social network.
- The user specifies the social network and the desired post ID.
- The Chromium bot browser is opened.
- Puppeteer navigates to the post.
- Puppeteer loads all available files and their URLs.
- The CLI downloads the files to the current codebase directory.
- The bot browser is closed.
- The command is terminated by the Node.js runtime.