python3 main.py
Last updated
Last updated
Time for us to run the main python file. This part might shoot you with errors, but there is nothing we cannot resolve...
Type: python3 main.py
in the same terminal (if you closed it, head back to the previous page of the documentation and look at how we entered the terminal last time). *In some cases, python3 main.py
does not work, do python main.py
instead. Once you click enter, you should see some colorful text and then be prompted by an error:
Don't worry, all this error is asking us to do is install Playwright
, this is responsible for scraping the screenshots. Playwright can be installed in the following way: npx playwright install
. This could take some time since we are installing a significantly larger package.
Once you install playwright
, you might have to type playwright install
just in case it does not download chromium.