Skip to main content

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 string
  • type_: Content type
  • pages: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

web_content_parser-1.0.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web_content_parser-1.0.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for web_content_parser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 34807468279c518718369236ce00cef9c7bd91849e9d96aaf05033917d3b268d
MD5 b659943bf9becfb181aac81d9f2c1729
BLAKE2b-256 cfc3aefdd51a299dd7b5c244a2e286e4fa48781589670013158d91705eab057b

See more details on using hashes here.

File details

Details for the file web_content_parser-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for web_content_parser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1d25ba41f78e9426e2cb4adb0aa096c00d10f0fae1ff2b883987095f175814b
MD5 06d6f4d7bf598ed8f8f3380c5e59a794
BLAKE2b-256 a29615bb9122359d9bd4dc3bb63c868ba99d676b2cc9b4db321de4e6e1ca7721

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page