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 installRun the scraping script:
poetry run python main.pyTo Run the tests:
poetry run pytestmain.py: Main scraping scriptpyproject.toml: Poetry project configuration and dependenciesREADME.md: Project documentation (this file)
- agentql: Web scraping framework
- playwright: Browser automation tool