A Python utility for web content processing and data extraction
Project description
Web Content Parser
A Python utility for web content processing and data extraction.
Installation
pip install web-content-parser
Quick Start
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 stringtype_: Content typepages: Number of pages to process
Returns: Dictionary with processed results.
Development
Install Dependencies
pip install -r requirements.txt
Run Tests
python test_reddit_searcher.py
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file web_content_parser-1.0.0.tar.gz.
File metadata
- Download URL: web_content_parser-1.0.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34807468279c518718369236ce00cef9c7bd91849e9d96aaf05033917d3b268d
|
|
| MD5 |
b659943bf9becfb181aac81d9f2c1729
|
|
| BLAKE2b-256 |
cfc3aefdd51a299dd7b5c244a2e286e4fa48781589670013158d91705eab057b
|
File details
Details for the file web_content_parser-1.0.0-py3-none-any.whl.
File metadata
- Download URL: web_content_parser-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1d25ba41f78e9426e2cb4adb0aa096c00d10f0fae1ff2b883987095f175814b
|
|
| MD5 |
06d6f4d7bf598ed8f8f3380c5e59a794
|
|
| BLAKE2b-256 |
a29615bb9122359d9bd4dc3bb63c868ba99d676b2cc9b4db321de4e6e1ca7721
|