Installing playwright
playwright is an API to automate browsers like Chrome, and Firefox. etc... It is needed to take screenshots of the reddit thread
Playwright is installed in the requirements.txt.
You can install Playwright with the PIP package manager or Conda.
Link to the installation guide: https://playwright.dev/python/docs/intro#pip
Installing playwright
pip install -r requirements.txt
If you do encounter errors, you can install it separately by running these commands:
pip install playwright
or
pip3 install playwright
Installing headless browser
The headless browser will take the screenshots needed for the video.
python -m playwright install
python -m playwright install-deps
Last updated