RSSHub/lib
chansantheman 591dcb85be
feat(route/gigazine): add English news full-text feed (#21757)
* route(gigazine): add English news full-text feed

Adds /gigazine/en route that fetches full article content from
GIGAZINE's English news listing. Uses sequential fetching with
delays to respect Cloudflare rate limits; subsequent loads are
served from cache.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* route(gigazine): improve english feed resilience

* test(gigazine): add english route coverage

* test(gigazine): move route coverage out of route tree

* test(api): cover route status cache fallbacks

* refactor(gigazine): apply PR review feedback to english route

- Use ofetch built-in auto-retry instead of hand-rolled circuit breaker
- Remove config.trueUA; let request-rewriter inject random browser UA
- Simplify Number.parseInt call (drop redundant ?? '' fallback)
- Update tests to match new retry and UA behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: remove unrelated changes and unnecessary test file

* refactor(gigazine): simplify selectors and cleanup logic per review

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 03:54:02 +08:00
..
api
assets
errors test: remove text "Not Found" from httperror 2026-05-06 03:12:57 +08:00
middleware refactor: use arrow function 2026-05-11 02:16:04 +08:00
routes feat(route/gigazine): add English news full-text feed (#21757) 2026-05-14 03:54:02 +08:00
routes-deprecated
shims chore(deps-dev): bump the oxc group across 1 directory with 4 updates (#21583) 2026-04-01 22:10:13 +08:00
utils fix(cache): call JSON.stringify when storing value in cache.tryGet (#20671) 2026-05-07 01:26:11 +08:00
views feat: add promotion 2026-03-17 15:59:10 +08:00
app-bootstrap.test.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
app-bootstrap.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
app.test.ts fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
app.ts chore: unpin jsdom (#21505) 2026-03-25 23:16:40 +08:00
app.worker.tsx refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
bilibili-video-route.test.ts fix: update browser fetching for bilibili and xsijishe 2026-05-06 16:30:15 +08:00
config.remote-error.test.ts
config.test.ts feat: add HTTP cache (#21814) 2026-04-24 11:35:51 +08:00
config.ts refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
container.ts
entrypoints.test.ts
index.test.ts
index.ts feat: disable IPv6 (#21719) 2026-04-13 23:45:08 +08:00
pkg.test.ts
pkg.ts
registry.dynamic.test.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
registry.test.ts style: auto format 2026-04-14 15:15:05 +00:00
registry.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
route-paths.d.ts
router.js
routes.test.ts
server.ts
setup.test.ts style: auto format 2026-04-14 15:15:05 +00:00
techflowpost.test.ts test(route): move techflowpost test outside routes 2026-05-09 17:24:41 +08:00
types.ts refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
worker.ts
worker.worker.test.ts