You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 \\
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?
The text was updated successfully, but these errors were encountered: