https://github.com/thomasjanssen-tech/playwright-tutorial
Learn how to use Playwright / Patchwright for Web Scraping and become 100% undetectable!
https://github.com/thomasjanssen-tech/playwright-tutorial
patchright playwright playwright-python webscraping
Last synced: 6 days ago
JSON representation
Learn how to use Playwright / Patchwright for Web Scraping and become 100% undetectable!
- Host: GitHub
- URL: https://github.com/thomasjanssen-tech/playwright-tutorial
- Owner: ThomasJanssen-tech
- Created: 2025-06-08T12:34:52.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2025-06-08T13:07:37.000Z (13 days ago)
- Last Synced: 2025-06-08T13:37:15.636Z (13 days ago)
- Topics: patchright, playwright, playwright-python, webscraping
- Language: Python
- Homepage: https://thomasjanssen.tech/
- Size: 31.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Playwright Tutorial
Watch the full tutorial on my YouTube Channel
Prerequisites
- Python 3.11+
Installation
1. Clone the repository:
```
git clone https://github.com/ThomasJanssen-tech/Playwright-Tutorial
cd Playwright-Tutorial
```
2. Create a virtual environment
```
python -m venv venv
```
3. Activate the virtual environment
```
venv\Scripts\Activate
(or on Mac): source venv/bin/activate
```
4. Install libraries
```
pip install -r requirements.txt
```
5. Configuration
- Rename the .env.example file to .env
- Get your free AgentQL API Key: https://www.agentql.com/?utm_source=YouTube&utm_medium=Creators&utm_id=Janssen_102024
- Add your AgentQL API key
Executing the scripts
- Open a terminal in VS Code
- Execute the following command:
```
python playwright_scraping_indeed.py
python scraping_with_agentql.py
python patchright_scraping_indeed.py
```