Files
RSSHub/lib
Arslan Ablikim 478df5e488 fix(route/makerworld): bypass Cloudflare challenge and adapt to new API shape (#22411)
* fix(route/makerworld): bypass Cloudflare challenge and adapt to new API shape

makerworld.com now sits behind a Cloudflare bot-management challenge that
fingerprints the TLS/HTTP client rather than just headers, so plain fetch
requests get a 403 even with a browser-like User-Agent. Fall back to a
stealth Playwright page load when that happens.

The trending page's data shape also changed: designs moved from
`pageProps.popularDesignsData` to `pageProps.v2Props.foryouData.hits[].design`,
mixed in with non-design promo/community entries, and `tags`/`startTime` were
replaced by `createTime` (no tags exposed on this endpoint anymore).

* fix(route/makerworld): always fetch via browser instead of trying ofetch first

Cloudflare's challenge fingerprints the client itself, so the plain fetch
attempt was guaranteed to always fail with a 403 first. Go straight to the
Playwright fallback instead of paying for a request known to fail.
2026-07-11 00:44:03 +08:00
..
2026-07-10 23:26:43 +08:00
2026-07-10 23:26:43 +08:00
2026-07-10 23:26:43 +08:00
2026-07-10 23:26:43 +08:00
2026-07-10 23:26:43 +08:00
2026-07-10 23:26:43 +08:00
2026-03-25 23:16:40 +08:00
2026-07-10 23:26:43 +08:00
2026-04-13 23:45:08 +08:00
2026-07-09 02:37:41 +08:00
2026-07-09 02:37:41 +08:00
2026-07-09 02:37:41 +08:00
2026-07-10 23:26:43 +08:00
2026-07-09 02:37:41 +08:00
2026-06-25 01:34:49 +08:00
2026-07-10 23:26:43 +08:00
…
2026-07-10 23:26:43 +08:00