vdutts7 / gpt4V-scraper

AI agent that can SEE 👁️, control, navigate, & do stuff for you on your browser.
235 stars 25 forks source link

Scrapper python script cannot find the snapshot #2

Open TeoSkondras opened 4 months ago

TeoSkondras commented 4 months ago

I am using windows and can execute the first part, snapshot.js creates the jpg file and stores it in the same directory as the js script. However when trying to run the python scrapper script I get the error: FileNotFoundError: [WinError 2] The system cannot find the file specified

On snapshot.js, there is a path named: userDataDir . When running on Windows, chrome does not have a similar directory to the one shown, is this the problem? If yes what path should I place there?

vdutts7 commented 4 months ago

Just updated README.md to include paths for Windows and Linux.

Basically, you can use either Chrome (or Chrome Canary, substitute throughout as needed) on any OS.

Can you try the new paths and see if you still have issues? Tip: Depending on what terminal you are running from, there may be escape characters messing things up, so try replacing / with \\