Skip to content

Source: HTML / DOM scraping with CSS selectors #10

@frhack

Description

@frhack

Scrape a web page, expose CSS selector-matched elements as a table.

Why it matters: Niche but uniquely demonstrable on HN — "I queried Hacker News with SQL" is the kind of post that does well. Combines with REST and file sources for OSINT / competitive-research workflows.

Scope (v1): dbfy_html('https://example.com', root := 'table.results tr', columns := { rank := 'td:first-child', title := 'a.title' }). Auth + cookies via the existing REST plumbing. Type inference per CSS-matched text.

Effort: 2-3 days using scraper (servo's html5ever) + a small CSS-selector → JSONPath equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    source-requestRequest for a new source kind to be addedtier-2Niche but story-worthy

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions