A bot that reads comments posted on instagram photos, using puppeteer to access the page.
- Download Puppeteer module the way you prefeer. (I used
npm install puppeteer
on terminal.) - Fill the parameter of
page.goto(/url-of-the-page-that-you-want-to-read/)
(line 26) with, believe it or not, the URL of the page that you want to read. - In line 29, change the second argumment to the HTML path of the comment. By default, the paremeter will select the OP username.
...fill free to modify and give me ideas of how to use that.