Instagram-Comments-Scraper icon indicating copy to clipboard operation
Instagram-Comments-Scraper copied to clipboard

Would it be possible to enter the username and have it collect comments from all posts?

Open eduaardogs1 opened this issue 2 years ago • 3 comments

Would it be possible to enter the username and have it collect comments from all posts? How? Thankss

eduaardogs1 avatar Jul 19 '21 04:07 eduaardogs1

Hi, @eduaardogs1 , that scenario is not possible for now, you should fetch the comments by each post's URL

AgiMaulana avatar Jul 19 '21 07:07 AgiMaulana

Hi, @eduaardogs1 , that scenario is not possible for now, you should fetch the comments by each post's URL

Thanks for the answer @AgiMaulana ! How can I enter a post list? Or would it be possible to load a txt with a list of publications? Thanks!

eduaardogs1 avatar Jul 19 '21 14:07 eduaardogs1

Hi, @eduaardogs1 , that scenario is not possible for now, you should fetch the comments by each post's URL

Thanks for the answer @AgiMaulana ! How can I enter a post list? Or would it be possible to load a text with a list of publications? Thanks!

In case others need to solve this problem, in line 6 driver.get(sys.argv[1]) this is implemented by calling chrome driver to get the specific link sys.argv[1] so if you need to do a list of it, you may add a for loop to get the link

link_list = ['123.com','456.com'] 
for i in range(len(link_list)) : 
driver.get(link_list[i])
... other function

cxheng315 avatar Mar 03 '22 05:03 cxheng315