Metadata-Version: 2.4
Name: web-scraper-pro
Version: 1.0.0
Summary: Extract data from websites to CSV or JSON using CSS selectors
Author: hanu-14
License: MIT
Project-URL: Homepage, https://github.com/hanu-14/web-scraper-pro
Keywords: scraper,web-scraping,extract,csv,cli
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28
Requires-Dist: beautifulsoup4>=4.11

# Web Scraper Pro

Extract data from any website to CSV or JSON with a single command.

## Install

```bash
pip install web-scraper-pro
```

## Usage

Extract all page titles:
```bash
scrape -u https://example.com -s "h1" -o titles.csv
```

Extract image sources:
```bash
scrape -u https://example.com -s "img" --attr src -o images.csv
```

Scrape multiple URLs from a file:
```bash
scrape -u urls.txt -s "h2.title" --delay 2
```

Extract structured data:
```bash
scrape -u https://shop.com --item ".product" --fields "title,.name,price,.cost"
```

## Features

- CSS selector based extraction
- Text or attribute extraction (href, src, etc.)
- Multiple URL support (from file or arguments)
- Configurable delay between requests
- Proxy support
- CSV and JSON export
- Auto-rotating user agents
