AgiMaulana / Instagram-Comments-Scraper

Instagram comment scraper using python and selenium. Save the comments into excel.
MIT License
140 stars 43 forks source link

IndexError: pop from empty list #13

Open julietagonzalez405 opened 1 year ago

julietagonzalez405 commented 1 year ago

Hi, i have this error, need help

python scraper.py https://www.instagram.com/p/CqT0ukiMbPf/ 5

DevTools listening on ws://127.0.0.1:55766/devtools/browser/466cc3f1-af4c-456b-95e8-8542b7cfb023 [10536:5680:0329/115639.286:ERROR:device_event_log_impl.cc(222)] [11:56:39.286] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: Uno de los dispositivos conectados al sistema no funciona. (0x1F) [10536:5680:0329/115639.288:ERROR:device_event_log_impl.cc(222)] [11:56:39.288] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: Uno de los dispositivos conectados al sistema no funciona. (0x1F) [10536:5680:0329/115639.289:ERROR:device_event_log_impl.cc(222)] [11:56:39.289] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: Uno de los dispositivos conectados al sistema no funciona. (0x1F) 'WebDriver' object has no attribute 'find_element_by_css_selector' Traceback (most recent call last): File "C:\Users\cgpal\Downloads\Instagram-Comments-Scraper-master\Instagram-Comments-Scraper-master\scraper.py", line 43, in
user_names.pop(0) IndexError: pop from empty list

julietagonzalez405 commented 1 year ago

I realy need help, somebody?

AgiMaulana commented 11 months ago

please try the updated one which uses Firefox

julence commented 10 months ago

Same issue here using Firefox 120 for Arch @AgiMaulana

0xluc commented 8 months ago

Same here

jeezusplays commented 8 months ago

Same here, using Firefox 122 @AgiMaulana