gpt4V-scraper
gpt4V-scraper copied to clipboard
Scrapper python script cannot find the snapshot
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?
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.
- the executable path is the full pathname of your desktop Chrome app
- the user data directory is the specific directory where Puppeteer stores user-specific data like cookies and local storage
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 \\