feat: add Cloudflare bypass to fetchSourceFurnidata using puppeteer
- Add cf-fetch.ts with puppeteer-extra + stealth plugin for CF bypass - Modify fetchSourceFurnidata to detect CF challenge and retry with puppeteer - Restore Leet, Hubbly, and Habblet City to clone sources (now CF-protected)
This commit is contained in:
1 parent
624edf751a
commit
a338f9cb72
3 files changed
+116
-13
No files matched your search
@@ -38,6 +38,13 @@ export const DEFAULT_SOURCES: CloneSource[] = [
|
||||
nitroBaseUrl: "https://nitro.hubba.cc/bundled/furniture",
|
||||
iconBaseUrl: "",
|
||||
},
|
||||
{
|
||||
id: "default-sodaho",
|
||||
name: "Soda Ho",
|
||||
furnidataUrl: "https://assets.sodaho.tel/gamedata/FurnitureData.json",
|
||||
nitroBaseUrl: "",
|
||||
iconBaseUrl: "",
|
||||
},
|
||||
{
|
||||
id: "default-leet",
|
||||
name: "Leet",
|
||||
@@ -59,13 +66,6 @@ export const DEFAULT_SOURCES: CloneSource[] = [
|
||||
nitroBaseUrl: "https://www.habblet.city/nitro/bundled/furniture",
|
||||
iconBaseUrl: "https://www.habblet.city/nitro/icons",
|
||||
},
|
||||
{
|
||||
id: "default-sodaho",
|
||||
name: "Soda Ho",
|
||||
furnidataUrl: "https://assets.sodaho.tel/gamedata/FurnitureData.json",
|
||||
nitroBaseUrl: "",
|
||||
iconBaseUrl: "",
|
||||
},
|
||||
];
|
||||
|
||||
export const DEFAULT_ICON_SOURCES: CloneSource[] = DEFAULT_SOURCES.filter(
|
||||
|
||||
Reference in new issue
Block a user