Skip to content

fix(search): drop 1337x, now behind a browser challenge on every mirror - #211

Merged
baairon merged 2 commits into
mainfrom
claude/sweet-galileo-nlxwv2
Nov 4, 2026
Merged

baairon merged 2 commits into
mainfrom
claude/sweet-galileo-nlxwv2

Conversation

@baairon

@baairon baairon commented Nov 4, 2026

Copy link
Copy Markdown
Owner

What and why

Every 1337x mirror torlink tries (1337x.to, 1337x.st, x1337x.ws, 1337xx.to) answers a Cloudflare JavaScript challenge (cf-mitigated: challenge, the "Just a moment" page), which no plain HTTP client passes. The source has therefore been down for every search and counted twice in the TUI's "sources down" (its Movies and TV entries). A permanently red source hides a real outage of the others, and the README promised a provider that cannot work, so it goes. Nothing else changes for the Movies and TV tabs: YTS, The Pirate Bay, EZTV and BitTorrented stay.

BitTorrented stays deliberately: its API answers 401 "invite only" today, which is a policy on their side, not a dead site, and it comes back on its own if that changes. Old history rows from either source keep rendering through sourceStyle()'s neutral fallback.

The second commit tidies the README's headless section so it reads in one pass: the HTTP API gets its own heading instead of sitting under "Sharing something of your own", and the interface-binding subsection says what it does in a few lines and points at --help, which now also carries the limits (IPv4 only, DNS through the OS resolver, update's git/npm children unbound).

Checked live from a sandbox: every other source answers (apibay, eztvx.to, nyaa.si, subsplease, fitgirl-repacks.site, YTS); a headless torlnk search on this branch reports eight sources with only BitTorrented failing.

Checklist

  • npm run typecheck is clean
  • npm test passes
  • New logic has a test (vitest; mock node built-ins for platform code) (no new logic; the tests that named 1337x now use EZTV / BitTorrented)
  • If I added a key, I updated both HELP_GROUPS and footerHints in src/ui/keymap.ts (no key added)
  • If I added a Store field, I updated makeStore in scripts/render-previews-impl.tsx (no Store field added)
  • OS-touching code works on Windows, macOS, and Linux (no OS-touching code)
  • One concern, with a Conventional Commits title (feat: / fix: / docs: / chore:)

Generated by Claude Code

Every 1337x mirror torlink tries (1337x.to, 1337x.st, x1337x.ws,
1337xx.to) answers a Cloudflare JavaScript challenge, which no plain
HTTP client passes, so the source has been down for every search and
counted twice in the TUI's "sources down" (its Movies and TV entries). A
permanently red source hides a real outage of the others, and the README
promised a provider that cannot work.

BitTorrented stays: it is invite-only today, not gone, and comes back on
its own if that changes. Old history rows from either keep rendering
through sourceStyle()'s neutral fallback.
The HTTP API gets its own heading instead of hiding under "Sharing
something of your own", and the interface-binding subsection says what
it does in a few lines and points at --help for the rest. The limits it
used to spell out (IPv4 only, DNS through the OS resolver, update's
git/npm children unbound) move into --help, next to the flags.
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s)

No findings.

@baairon
baairon merged commit c9f0ab0 into main Nov 4, 2026
9 checks passed
@baairon
baairon deleted the claude/sweet-galileo-nlxwv2 branch November 4, 2026 06:45
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