hej-ai-crawler
Scrape any webpage into clean markdown.
Install
pip install hej-ai-crawler
Usage
import asyncio
from hej_ai_crawler import crawler
scrape = crawler("your-api-key")
async def main():
page = await scrape("https://example.com")
print(page.title) # "Example Domain"
print(page.markdown) # clean markdown content
print(page.links) # internal links found on the page
asyncio.run(main())
Scraping modes
# Fast HTTP fetch + Readability extraction
await scrape("https://example.com", "static")
# Full headless browser render (default)
await scrape("https://example.com", "playwright")
# Tries static first, uses browser if content differs significantly
await scrape("https://example.com", "scout")
Response
ScrapedPage dataclass with fields:
url— final URL after redirectstitle— page titlemarkdown— page content as markdownlinks— internal links foundmode— mode used to produce the result
License
MIT
Metadata
Release files for hej-ai-crawler 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hej_ai_crawler-0.1.0.tar.gz | 1.7 kB | Without provenance | Details for hej_ai_crawler-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hej_ai_crawler-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hej_ai_crawler-0.1.0-py3-none-any.whl |
Total release size: 4.0 kB
Release files / hej_ai_crawler-0.1.0.tar.gz
| Download URL | hej_ai_crawler-0.1.0.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2d86dbc4eed60e2765b9575646193b14597d1245665d32235b44fdce75e3b36
|
|
BLAKE2b-256 checksum How to use checksums |
138d173ed90aadb6e230166a5d4bc29f3196dd40a8610adf18a7e6265bbe89d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / hej_ai_crawler-0.1.0-py3-none-any.whl
| Download URL | hej_ai_crawler-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77059de14d1b9490923f2ddf76a287f8bbb516bcc7b7c19b2f5b83e8d77bd295
|
|
BLAKE2b-256 checksum How to use checksums |
9c4cf513501eb99381e01aca905f05474d1005794befc629bc8845022869ab00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for hej-ai-crawler 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.