Metadata-Version: 2.4
Name: easy-playwright-scrape
Version: 0.1.0
Summary: Scrape a page with Playwright and count how often a term appears.
Author: Lucas Mali
License: MIT
Project-URL: Homepage, https://github.com/LucasMali/multi-threading-web-scraper
Project-URL: Repository, https://github.com/LucasMali/multi-threading-web-scraper
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: playwright>=1.62.0

# easy-playwright-scrape

Scrape a page with [Playwright](https://playwright.dev/python/) and count how often a term appears in visible text.

## Install

```bash
pip install easy-playwright-scrape
playwright install chromium
```

Local (from this monorepo):

```bash
pip install -e packages/easy-playwright-scrape
playwright install chromium
```

## Usage

```python
from easy_playwright_scrape import scraper

result = scraper.find("AI", "https://techcrunch.com/")
print(result["count"], result["title"])
```
