Metadata-Version: 2.4
Name: web-content-parser
Version: 1.0.0
Summary: A Python utility for web content processing and data extraction
Home-page: https://github.com/devteam/web-content-parser
Author: Dev Team
Author-email: Dev Team <dev@example.com>
License: MIT
Project-URL: Homepage, https://github.com/devteam/web-content-parser
Project-URL: Repository, https://github.com/devteam/web-content-parser
Project-URL: Bug Reports, https://github.com/devteam/web-content-parser/issues
Keywords: web,parser,content,extraction,html
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Requires-Dist: beautifulsoup4>=4.12.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Web Content Parser

A Python utility for web content processing and data extraction.

## Installation

```bash
pip install web-content-parser
```

## Quick Start

```python
from reddit_searcher import RedditSearcher

# Initialize
parser = RedditSearcher("api_key")

# Process content
result = parser.search("query", "type", pages=1)

print(f"Processed {result['total']} items")
```

## API Reference

### RedditSearcher

#### `__init__(api_key: str)`

Initialize the content parser.

#### `search(q: str, type_: str = "communities", pages: int = 1)`

Process web content.

**Parameters:**
- `q`: Query string
- `type_`: Content type
- `pages`: Number of pages to process

**Returns:**
Dictionary with processed results.

## Development

### Install Dependencies

```bash
pip install -r requirements.txt
```

### Run Tests

```bash
python test_reddit_searcher.py
```

## License

MIT License
