Skip to main content

A Python package to scrape context from any URL for LLM context.

Project description

doc-scraper

A Python tool to scrape website content for LLM context.

Installation

pip install doc-scraper

Post-Installation Setup

This tool uses crawl4ai which relies on Playwright. After installing the package, you need to install the browser binaries:

playwright install

Or if you are using the crawl4ai CLI directly:

crawl4ai-doctor

Usage

doc-scraper <url>

Example:

doc-scraper https://docs.reducto.ai/

Follow the interactive prompts to configure the output directory and other settings.

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

doc_scraper_python-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

doc_scraper_python-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file doc_scraper_python-0.1.0.tar.gz.

File metadata

  • Download URL: doc_scraper_python-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for doc_scraper_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 146b0a30c9f0fb3e73b23530eae29b1ac650cfdcf8b416c0717fddbc6fb34480
MD5 36983cac74f9ed1b2e304a431a8378de
BLAKE2b-256 7bb7e9b421bfa32172b2360875babd76966a0b5946298db2dae8b80d788ae70c

See more details on using hashes here.

File details

Details for the file doc_scraper_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for doc_scraper_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 193d56dbc3cacd7f3a94a98d1ed9d3824b8632ebd57adb339d1c7a03a287edfc
MD5 1401ea499a340a87d2086f00bfe94c44
BLAKE2b-256 033573379161fbe42b7363b6b64c8cbe35654b0231d5030fc6509ae744f3d469

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