• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microlinkhq / metascraper / 31160123112
95%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2026 08:04AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
31160123112

push

github

web-flow
feat(helpers): add rule-level validate (like test) (#866)

* feat(helpers): add per-call validate hook to findRule

Allow callers to reject a rule result and continue to the next rule
without throwing, so logo XSS fallthrough can skip hostile candidates.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(helpers): scope validate hook and forward it through nested rules

`validate` applied to every property, so a validator written for one
field silently nulled unrelated ones. It now accepts an object keyed by
property name; the function form still runs for every property.

A throwing validator aborted the whole property through get-data's
catch. It now rejects only the candidate that triggered it and the
search resumes at the next rule, with the error logged under
DEBUG=metascraper:find-rule.

metascraper-video and metascraper-audio rebuilt the args object for
their nested findRule calls, so validate never reached rules behind an
iframe and per-candidate fallthrough did not happen there.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSEyFT3dw16tyvhRGVAWrx

* refactor(video,audio): keep param destructuring in iframe rules

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSEyFT3dw16tyvhRGVAWrx

* refactor(helpers): share withIframe for audio/video

Deduplicate nested iframe probing so validate keeps one code path,
and tighten docs/tests from review feedback.

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor(helpers): move validate onto rules like test

Scrape-time validate mixed a second control plane into the call.
Bundle/rule validate matches test and needs no args forwarding.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(metascraper): keep pkgName on inline mergeRules

loadRules already copied bundle pkgName; mergeRules dropped it so
inline bundles lost debug names and pkgName could become... (continued)
Source Files on build 31160123112
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #31160123112
  • d40856b0 on github
  • Prev Build on master (#31044451710)
  • Next Build on master (#31185917545)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc