AnsonLai / TeslaServiceManualScraper

This script will download the Tesla Service Manual onto a local doc folder for offline access.
MIT License
65 stars 12 forks source link

Scraper errors #14

Open snovvmann opened 1 year ago

snovvmann commented 1 year ago

Hi, thanks for creating this script. I am receiving the error below. Any idea why?

Also, in case it mattered, I noticed that the script does not log in directly to service.tesla.com, rather, it logs into tesla.com. After it eventually gets to the manual I specified, it fails.

DevTools listening on ws://127.0.0.1:57338/devtools/browser/cd79339b-94d9-4d66-af54-37bfc30 ****** SESSION LOADED ****** [7452:19956:0129/225725.215:ERROR:device_event_log_impl.cc(215)] [22:57:25.215] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F) [7452:19956:0129/225725.216:ERROR:device_event_log_impl.cc(215)] [22:57:25.216] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F) Traceback (most recent call last): File "c:\users\j\downloads\ts\scrape.py", line 273, in <module> run() File "c:\users\j\downloads\ts\scrape.py", line 262, in run driver.get_index() File "c:\users\j\downloads\ts\scrape.py", line 53, in get_index window1 = driver.window_handles[1] IndexError: list index out of range