Skip to content

Use NodeBB JSON API instead of RSS for Opera release detection #29658

@caugner

Description

@caugner

Follow-up to #29649.

The Opera update-browser-releases script reads https://forums.opera.com/category/20.rss and filters by dc:creator to find threads authored by abitkulova. But RSS dc:creator is the latest poster, not the original author — so as soon as someone replies to a release thread, it drops out of the filter. That's what caused #29649 (#29649 patches the symptom with a numeric <= break; the fragility remains).

Proposal

Switch to the public NodeBB JSON API:

  • GET /api/category/20 — lists topics with user.username = original poster, plus timestampISO (creation time, better release_date than RSS's last-reply pubDate).
  • GET /api/topic/{tid}/{slug} — original post body as JSON, no HTML scraping needed for the engine version.

Fixes the reply-bumping problem, the HTML scraping, and the imprecise release date in one go.

/api/search requires auth, so we rely on the category listing. The NodeBB API isn't a documented contract — defensive parsing recommended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraInfrastructure issues (npm, GitHub Actions, releases) of this project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions