fix(lightnovelwp): mark Baca Light Novel as down (#2457) - #2471
Open
RibatTRW wants to merge 1 commit into
Open
Conversation
bacalightnovel.co serves a Cloudflare bot challenge (HTTP 403, Cf-Mitigated: challenge) to automated clients, and challenge-exempt relays receive Cloudflare error 522 (origin connection timeout), so safeFecth throws and readers see an error or empty chapter list. Flag the source down instead of removing it, following the existing convention from PR lnreader#1978: user libraries stay intact and re-enabling the site later is a one-line revert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2457
What
Marks the
bacalightnovelsource down inplugins/multisrc/lightnovelwp/sources.json, following the exact convention of the seven already-marked-down sources in this file (allnovelread,pandamtl,moonlightnovel,ellotl,cpunovel,keopi,betternovels), introduced upstream by #1978:Two lines added, nothing else touched.
Evidence the site is unreachable
Measured 2026-08-25:
Cf-Mitigated: challengeheader on/,/series/?page=1,/wp-json/, and the www host./and a real chapter URL, repeated over roughly 10 minutes.node scripts/live-check-plugin.js 'plugins/indonesian/BacaLightNovel[lightnovelwp].ts'reportssiteReachability: INCONCLUSIVE HTTP 403 (Cloudflare).Requests therefore die at the network layer before any parsing: the plugin's fetch wrapper throws and readers see an error or empty chapters, matching the report.
Why flag instead of remove
Keeping the entry preserves users' libraries and bookmarks, and if the site comes back, re-enabling it is a one-line revert of this flag. That is exactly how the seven confirmed-dead sources above are already handled per #1978.
Honest limitation
Today's live HTML could not be fetched from the host that ran the diagnosis (Cloudflare challenge for direct clients, 522 through relays), so dead origin is inferred from consistent 522 responses past the edge plus the reporter's error symptoms, not proven by capturing today's failing page. The plugin's parser and selectors were verified against real archived site markup (Wayback capture of a chapter page from 2025-07-10; replaying the template's parse extracted over 20,000 characters of chapter text), so no selector or domain change is included. If anyone can load bacalightnovel.co in a normal browser right now, please comment and this should be re-verified before merging anything beyond the flag.
Note on who consumes the flag
grep -rn '"down"' scripts/build-plugin-manifest.js src/currently returns nothing: neither the manifest builder nor app code consumesdownyet. The flag follows house precedent (#1978) and costs nothing until tooling starts reading it.Verification done on this branch
plugins/multisrc/lightnovelwp/sources.jsonparses as valid JSON after the change.node ./plugins/multisrc/generate-multisrc-plugins.jsruns clean, and the regeneratedBacaLightNovel[lightnovelwp].tsembeds"down":true,"downSince":1787666612560, exactly like the generated files of the existing down sources.