How to fetch information from a website in python

python
webscraping
selenium
playwright
Is Playwright any better than Selenium?
Author

Jakob Johannesson

Published

Invalid Date

Playwright - The best way to do webscraping

You will need the playwright package to do this. Open a new session in vs code. create a new environment and enter it by Open up a terminal and run:

python3 -m venv env && source ./env/bin/activate

pip install playwright

First thing we want to do is to open a browser in playwright. From this browser we willl navigate the web