Skip to content

chore: refresh vendored ClearURLs ruleset (+ make update-clearurls) - #8

Merged
stringertheory merged 1 commit into
mainfrom
refresh-clearurls
Aug 21, 2026
Merged

chore: refresh vendored ClearURLs ruleset (+ make update-clearurls)#8
stringertheory merged 1 commit into
mainfrom
refresh-clearurls

Conversation

@stringertheory

Copy link
Copy Markdown
Owner

The vendored clean_links/clearurls.json hadn't been touched since Jan 2024. Refreshed it from upstream data.min.json:

  • 193 → 206 providers (16 added — e.g. forbes.com, msn, shopee, lazada, skimresources; a few renamed/removed).
  • Same rule structure; all regexes compile with zero warnings; full suite passes; unwrap of google/facebook/rutracker still works.

Also adds make update-clearurls (curl the latest data.min.json + prettier-normalize) so future refreshes are one command — the maintainable answer to #1 (keep the ruleset current without a runtime fetch/cache dependency).

Update clean_links/clearurls.json from upstream data.min.json: 193 -> 206
providers (16 added, a few renamed/removed) after ~2.5 years unchanged.
All patterns compile with no warnings and the full suite still passes;
unwrap of google/facebook/etc. still resolves correctly.

Add `make update-clearurls` (curl latest + prettier-normalize) so the
vendored copy can be refreshed in one step and won't silently drift.
Refs #1.
@stringertheory
stringertheory merged commit ed5ed2c into main Aug 21, 2026
8 checks passed
@stringertheory
stringertheory deleted the refresh-clearurls branch August 21, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant