Skip to main content

lurkers

Convenient API + CLI to fetch web content for agents.

Status: early PoC. APIs will change.

Sources

  • HTML pages (any URL) — extracted to markdown via trafilatura
  • YouTube videos — title + channel + transcript
  • Twitter/X posts — via fxtwitter (no auth required)
  • RSS/Atom feeds — list of entries, each fetched through the unified dispatch

Install

pip install lurkers

Python

import lurkers

# unified entry point — auto-detects source type
doc = lurkers.fetch("https://news.ycombinator.com/item?id=1")
doc = lurkers.fetch("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
doc = lurkers.fetch("https://x.com/elonmusk/status/12345")

# RSS / Atom: returns list[Document]
docs = lurkers.feed("https://news.ycombinator.com/rss", limit=10)

# async siblings
import asyncio
docs = asyncio.run(lurkers.afeed("https://example.com/rss.xml"))

Every fetch returns a Document:

class Document(BaseModel):
    source: str               # canonical URL
    source_type: str          # "html" | "youtube" | "twitter"
    title: str | None
    content: str              # markdown / plain text
    fetched_at: datetime
    metadata: dict[str, Any]  # source-specific (video_id, author_handle, ...)

CLI

lurkers fetch https://example.com/article            # JSON to stdout
lurkers fetch https://youtu.be/dQw4w9WgXcQ --pretty
lurkers feed https://news.ycombinator.com/rss -n 5

License

Apache-2.0.

Metadata

Release files for lurkers 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lurkers 0.1.0
File Size Uploaded Provenance Actions
lurkers-0.1.0.tar.gz 74.4 kB Without provenance Details for lurkers-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lurkers 0.1.0
File Interpreter ABI Platform Actions
lurkers-0.1.0-py3-none-any.whl Python 3 none any Details for lurkers-0.1.0-py3-none-any.whl

Total release size: 91.6 kB

Release files / lurkers-0.1.0.tar.gz

Download URL lurkers-0.1.0.tar.gz
Size 74.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d0857a0bbce737e7e2e6acc04b2752a7530b30241658ae64f8c3b28b4bdee03a
BLAKE2b-256 checksum
How to use checksums
09ae91e6267ba4cf57fa7ce6e633fff055cf312a44499ae3d76bcd1c4184efa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lurkers-0.1.0-py3-none-any.whl

Download URL lurkers-0.1.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84cafc9bb8b012089f0731ecdc765e07edefce2422e00053e9e795a30dc8b5c9
BLAKE2b-256 checksum
How to use checksums
92829392d153f2358f2cdba6260054c5cd8ecb68e813a96ba89853318220dbad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for lurkers 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page