scraperjavascript207
Live3D Scraper (VTuber Models, Assets, Backgrounds, AI Suite)
Scraper lengkap untuk live3d.io: mengambil model 3D Avatar (VRoid), aksesoris, latar animasi stream (GIF), animasi emote (GIF), dan daftar 75+ AI tools generator.
Vamz Spectre10 Nov 2026250 baris kode
Jalankan via Terminal / CLI:
# 1. Download file script
curl -sL "https://code.vamxapi.my.id/snippet/raw/live3d-scraper" -o live3d-scraper.js
# 2. Jalankan script
node live3d-scraper.js
Dependencies npm yang Dibutuhkan:
npm install axios, cheerioPanduan Penggunaan:
curl -sL "https://code.vamxapi.my.id/snippet/raw/live3d-scraper" -o live3d-scraper.js node live3d-scraper.js "all"
live3d-scraper.js(250 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
/**
* Scraper Live3D (live3d.io)
* Mengambil data komprehensif:
* - VTuber Models (Official, User Creations, Chibi Avatars)
* - VTuber Assets (Accessories, Hats, Glasses, Props, Wings)
* - VTuber Backgrounds (Rooms, Stream Overlays, Animated GIF Backgrounds)
* - VTuber Animations (Actions, Dances, Emotes GIF)
* - AI Suite Tools & Features (Face Swap, Anime Character Maker, Waifu Gen, Editor, dll)
*
* Cara Menjalankan:
* 1. Unduh file:
* curl -sL "https://code.vamxapi.my.id/snippet/raw/live3d-scraper" -o live3d-scraper.js
* 2. Eksekusi via terminal:
* node live3d-scraper.js "all"
* node live3d-scraper.js "models"
* node live3d-scraper.js "assets"
* node live3d-scraper.js "backgrounds"
* node live3d-scraper.js "animations"
* node live3d-scraper.js "ai-tools"
*/
const axios = require('axios');
const cheerio = require('cheerio');
const BASE_URL = 'https://live3d.io';
const CDN_PATH = 'https://live3d-global.zingfront.com/';
const HEADERS = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
'Accept-Language': 'en-US,en;q=0.9,id;q=0.8'
};
function cleanPreviewUrl(url) {
if (!url) return '';
if (url.includes('cdn_path +')) {
const sub = url.replace('cdn_path +', '').replace(/['"\s]/g, '');
return `${CDN_PATH}${sub}`;
}
return url.replace(/['"]/g, '').trim();
}
function parseJsArray(str) {
const items = [];
const objRegex = /\{([^{}]+)\}/g;
let match;
while ((match = objRegex.exec(str)) !== null) {
const obj = {};
const pairs = match[1].split(',');
for (const p of pairs) {
const parts = p.split(':');
if (parts.length >= 2) {
const k = parts[0].trim().replace(/['"]/g, '');
const v = parts.slice(1).join(':').trim();
obj[k] = isNaN(v) ? cleanPreviewUrl(v) : Number(v);
}
}
if (Object.keys(obj).length > 0) items.push(obj);
}
return items;
}
async function scrapeModels() {
const { data } = await axios.get(`${BASE_URL}/vtuber-model`, { headers: HEADERS });
const allMatch = data.match(/var\s+all_avatars_lists\s*=\s*(\[\s*\{[\s\S]*?\}\s*\]);/);
const userMatch = data.match(/var\s+user_avatar_lists\s*=\s*(\[\s*\{[\s\S]*?\}\s*\]);/);
const chibiMatch = data.match(/var\s+chibi_avatar_list\s*=\s*(\[\s*\{[\s\S]*?\}\s*\]);/);
const official = allMatch ? parseJsArray(allMatch[1]) : [];
const userCreations = userMatch ? parseJsArray(userMatch[1]) : [];
const chibi = chibiMatch ? parseJsArray(chibiMatch[1]) : [];
return {
total: official.length + userCreations.length + chibi.length,
official_models: official.map(m => ({
name: m.name,
gender: m.sex === 1 ? 'Female' : 'Male',
preview: m.img_url,
type: '3D Avatar Model (VRoid)'
})),
user_creations: userCreations.map(m => ({
name: m.name,
gender: m.sex === 1 ? 'Female' : 'Male',
preview: m.img_url,
type: 'Community Model'
})),
chibi_models: chibi.map(m => ({
name: m.name,
gender: m.sex === 1 ? 'Female' : 'Male',
preview: m.img_url,
type: 'Chibi Model'
}))
};
}
async function scrapeAssets() {
const { data } = await axios.get(`${BASE_URL}/vtuber_asset`, { headers: HEADERS });
const $ = cheerio.load(data);
const assets = [];
$('img').each((_, el) => {
const src = $(el).attr('src') || $(el).attr('data-src');
const alt = $(el).attr('alt') || '';
if (src && src.includes('/saasbox/resources/png/') && alt.toLowerCase().includes('asset')) {
assets.push({
title: alt || 'VTuber Asset',
category: alt.replace('VTuber', '').replace('Asset', '').trim() || 'Accessory',
image: src
});
}
});
return {
total: assets.length,
items: assets
};
}
async function scrapeBackgrounds() {
const { data } = await axios.get(`${BASE_URL}/vtuber_background`, { headers: HEADERS });
const $ = cheerio.load(data);
const backgrounds = [];
$('img').each((_, el) => {
const src = $(el).attr('src') || $(el).attr('data-src');
const alt = $(el).attr('alt') || '';
if (src && src.includes('/saasbox/resources/gif/') && alt.toLowerCase().includes('background')) {
backgrounds.push({
title: alt,
type: 'Animated Stream Background (GIF)',
url: src
});
}
});
return {
total: backgrounds.length,
items: backgrounds
};
}
async function scrapeAnimations() {
const { data } = await axios.get(`${BASE_URL}/vtuber_animation`, { headers: HEADERS });
const $ = cheerio.load(data);
const animations = [];
$('img').each((_, el) => {
const src = $(el).attr('src') || $(el).attr('data-src');
const alt = $(el).attr('alt') || '';
if (src && src.includes('/saasbox/resources/gif/') && alt.toLowerCase().includes('animation')) {
animations.push({
title: alt,
type: 'Motion Emote / Animation (GIF)',
url: src
});
}
});
return {
total: animations.length,
items: animations
};
}
async function scrapeAiTools() {
const { data } = await axios.get(`${BASE_URL}/ai-face-swap`, { headers: HEADERS });
const $ = cheerio.load(data);
const tools = [];
$('a').each((_, el) => {
const href = $(el).attr('href');
const text = $(el).text().trim();
if (href && (href.startsWith('/ai-') || href.startsWith('/multiple-') || href.startsWith('/batch-') || href.startsWith('/nano-') || href.startsWith('/flux-'))) {
if (text && !tools.some(t => t.endpoint === href)) {
tools.push({
name: text,
endpoint: `${BASE_URL}${href}`,
slug: href.replace(/^\//, '')
});
}
}
});
return {
total: tools.length,
software_suite: [
{
name: 'VTuber Maker',
description: 'Webcam-based motion tracking & 3D avatar streaming software for OBS / Twitch / YouTube',
download_url: 'https://animegenius-global.live3d.io/vtuber/product/VTuber%20Maker_v1.11.14.zip'
},
{
name: 'VTuber Editor',
description: 'VRM 3D model editor & accessorizer'
}
],
tools: tools
};
}
async function main() {
const category = (process.argv[2] || 'all').toLowerCase();
const result = {
status: true,
author: 'Vamz Spectre',
source: 'https://live3d.io',
category: category,
scraped_at: new Date().toISOString()
};
try {
if (category === 'models') {
result.data = await scrapeModels();
} else if (category === 'assets') {
result.data = await scrapeAssets();
} else if (category === 'backgrounds') {
result.data = await scrapeBackgrounds();
} else if (category === 'animations') {
result.data = await scrapeAnimations();
} else if (category === 'ai-tools') {
result.data = await scrapeAiTools();
} else {
const [models, assets, backgrounds, animations, aiTools] = await Promise.all([
scrapeModels(),
scrapeAssets(),
scrapeBackgrounds(),
scrapeAnimations(),
scrapeAiTools()
]);
result.data = {
models,
assets,
backgrounds,
animations,
ai_suite: aiTools
};
}
console.log(JSON.stringify(result, null, 2));
} catch (error) {
console.error(JSON.stringify({
status: false,
author: 'Vamz Spectre',
error: error.message
}, null, 2));
process.exit(1);
}
}
main();