This project demonstrates web scraping using AgentQL and Playwright in Python.
- Python 3.12 or higher
- Poetry (Python package manager)
- Clone this repository:
git clone <repository-url>
cd webscraping
- Install dependencies using Poetry:
poetry install
- Install Playwright browsers:
poetry run playwright install
Run the scraping script:
poetry run python main.py
To Run the tests:
poetry run pytest
main.py
: Main scraping scriptpyproject.toml
: Poetry project configuration and dependenciesREADME.md
: Project documentation (this file)
- agentql: Web scraping framework
- playwright: Browser automation tool