scraperjavascript316
Dubbindo - Film, Anime & Drama Dubbing Indonesia Scraper
Scraper Dubbindo (dubbindo.site) untuk mencari film, anime, dan drama dubbing bahasa Indonesia, lengkap dengan direct MP4 streaming multi-resolusi (720p, 480p, 360p, 240p), direct download links, embed URL, dan related videos.
Vamz Spectre9 Nov 2026359 baris kode
Jalankan via Terminal / CLI:
# 1. Download file script
curl -sL "https://code.vamxapi.my.id/snippet/raw/dubbindo" -o dubbindo.js
# 2. Jalankan script
node dubbindo.js
Dependencies npm yang Dibutuhkan:
npm install axios, cheerioPanduan Penggunaan:
curl -sL "https://code.vamxapi.my.id/snippet/raw/dubbindo" -o dubbindo.js npm install axios cheerio node dubbindo.js "naruto" node dubbindo.js "https://www.dubbindo.site/watch/pokemon-detective-pikachu-live-action-2019_rtiCLlND4e8ZyWh.html"
dubbindo.js(359 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
/**
* Dubbindo Scraper (dubbindo.site)
* Nonton Film, Anime, & Drama Dubbing Indonesia
*
* Features:
* - Search Videos
* - Latest Videos
* - Trending & Top Videos
* - Category Videos
* - Video Detail & Direct MP4 Streaming / Download Links (Multi Quality: 720p, 480p, 360p, 240p)
*
* Author: Vamz Spectre / VamxAPI
* CLI Usage:
* node dubbindo.js "naruto"
* node dubbindo.js "https://www.dubbindo.site/watch/pokemon-detective-pikachu-live-action-2019_rtiCLlND4e8ZyWh.html"
* node dubbindo.js --latest
*/
const axios = require('axios');
const cheerio = require('cheerio');
const BASE_URL = 'https://www.dubbindo.site';
const http = axios.create({
baseURL: BASE_URL,
timeout: 15000,
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': 'id,en-US;q=0.9,en;q=0.8'
}
});
function parseVideoCard($, el) {
const card = $(el);
const anchor = card.find('.video-thumb a').first();
const titleAnchor = card.find('.video-title a').first();
const url = anchor.attr('href') || titleAnchor.attr('href') || '';
const title = (card.find('.video-title h4').attr('title') || card.find('.video-title h4').text() || '').trim();
const thumbnail = card.find('.video-thumb img').attr('src') || '';
const previewGif = (card.find('.play_hover_btn').attr('onmouseenter') || '').match(/'([^']+)'/)?.[1] || null;
const duration = card.find('.video-duration').text().trim() || null;
const infoText = card.find('.video-info').text().replace(/\s+/g, ' ').trim();
const viewsMatch = infoText.match(/([\d,]+)\s*Views/i);
const views = viewsMatch ? viewsMatch[1].replace(/,/g, '') : null;
const timeMatch = infoText.match(/·\s*([0-9]+\s+[a-zA-Z\s]+ago)/i);
const uploaded = timeMatch ? timeMatch[1].trim() : null;
const uploaderEl = card.find('.video-info a').first();
const uploader = uploaderEl.length ? {
name: uploaderEl.text().trim(),
url: uploaderEl.attr('href') || ''
} : null;
const desc = card.find('.descc').text().replace(/\s+/g, ' ').trim() || null;
const id = card.attr('data-id') || (url.match(/_([a-zA-Z0-9]+)\.html/)?.[1] || null);
return {
id,
title,
url,
thumbnail,
previewGif,
duration,
views: views ? parseInt(views, 10) : null,
uploaded,
uploader,
description: desc
};
}
async function search(query, page = 1) {
const res = await http.get('/search', {
params: {
keyword: query,
page_id: page
}
});
const $ = cheerio.load(res.data);
const results = [];
$('.video-latest-list, .video-wrapper').each((_, el) => {
const item = parseVideoCard($, el);
if (item.title && item.url) {
results.push(item);
}
});
return {
status: true,
query,
page: Number(page),
total: results.length,
results
};
}
async function latest(page = 1) {
const res = await http.get('/videos/latest', {
params: { page_id: page }
});
const $ = cheerio.load(res.data);
const results = [];
$('.video-latest-list, .video-wrapper').each((_, el) => {
const item = parseVideoCard($, el);
if (item.title && item.url) {
results.push(item);
}
});
return {
status: true,
page: Number(page),
total: results.length,
results
};
}
async function trending(page = 1) {
const res = await http.get('/videos/trending', {
params: { page_id: page }
});
const $ = cheerio.load(res.data);
const results = [];
$('.video-latest-list, .video-wrapper').each((_, el) => {
const item = parseVideoCard($, el);
if (item.title && item.url) {
results.push(item);
}
});
return {
status: true,
page: Number(page),
total: results.length,
results
};
}
async function top(page = 1) {
const res = await http.get('/videos/top', {
params: { page_id: page }
});
const $ = cheerio.load(res.data);
const results = [];
$('.video-latest-list, .video-wrapper').each((_, el) => {
const item = parseVideoCard($, el);
if (item.title && item.url) {
results.push(item);
}
});
return {
status: true,
page: Number(page),
total: results.length,
results
};
}
async function category(catId, page = 1) {
const res = await http.get(`/videos/category/${catId}`, {
params: { page_id: page }
});
const $ = cheerio.load(res.data);
const results = [];
$('.video-latest-list, .video-wrapper').each((_, el) => {
const item = parseVideoCard($, el);
if (item.title && item.url) {
results.push(item);
}
});
return {
status: true,
category: catId,
page: Number(page),
total: results.length,
results
};
}
async function detail(urlOrSlugOrId) {
let targetUrl = urlOrSlugOrId;
if (!targetUrl.startsWith('http')) {
if (targetUrl.includes('.html')) {
targetUrl = `${BASE_URL}/watch/${targetUrl}`;
} else {
targetUrl = `${BASE_URL}/watch/${targetUrl}.html`;
}
}
const res = await http.get(targetUrl);
const html = res.data;
const $ = cheerio.load(html);
const title = ($('h1[itemprop="title"]').text() || $('title').text().replace(/ - UVideo.*$/, '') || '').trim();
const shortId = targetUrl.match(/_([a-zA-Z0-9]+)\.html/)?.[1] || null;
const embedUrl = shortId ? `${BASE_URL}/embed/${shortId}` : null;
// Views & Likes
const viewsText = $('.views-counter').text().replace(/\s+/g, ' ').trim() || (html.match(/([\d,]+)\s+Views/i)?.[1] || '');
const views = viewsText ? parseInt(viewsText.replace(/[^\d]/g, ''), 10) : null;
const likes = parseInt($('#likes').text().trim() || '0', 10);
const dislikes = parseInt($('#dislikes').text().trim() || '0', 10);
// Description
const description = $('.video-description').text().trim() || $('.descc').first().text().trim() || null;
// Category
const catEl = $('a[href*="/videos/category/"]').first();
const category = catEl.length ? {
id: (catEl.attr('href').match(/\/videos\/category\/([^"'/]+)/)?.[1] || ''),
name: catEl.text().trim()
} : null;
// Uploader
const uploaderEl = $('.publisher-name a').first();
const avatarEl = $('.publisher-avatar img').first();
const uploader = uploaderEl.length ? {
name: uploaderEl.text().trim(),
url: uploaderEl.attr('href') || '',
avatar: avatarEl.attr('src') || null
} : null;
// Stream Sources
const streams = [];
$('source').each((_, el) => {
const src = $(el).attr('src');
const type = $(el).attr('type') || 'video/mp4';
const quality = $(el).attr('data-quality') || $(el).attr('label') || $(el).attr('title') || 'default';
if (src && !streams.some(s => s.url === src)) {
streams.push({ quality, type, url: src });
}
});
// Downloads (match both modal download buttons and link_download)
const downloads = [];
const downloadMatches = [...html.matchAll(/<a[^>]+href="([^"]+)"[^>]*class="[^"]*(?:clickdownload|click download|btn-share)[^"]*"[^>]*>([\s\S]*?)<\/a>/gi)];
for (const match of downloadMatches) {
const url = match[1];
const label = match[2].replace(/<[^>]+>/g, '').replace(/\s+/g, ' ').trim() || 'Download';
if (url && url !== '#' && !downloads.some(d => d.url === url)) {
downloads.push({ label, url });
}
}
// Also check direct link_download if present
const singleDl = $('#link_download').attr('href');
if (singleDl && singleDl !== '#' && !downloads.some(d => d.url === singleDl)) {
downloads.unshift({ label: 'Download', url: singleDl });
}
// Related videos
const related = [];
$('.ra-thumb').each((_, el) => {
const thumb = $(el);
const card = thumb.parent();
const link = thumb.find('a').first();
const url = link.attr('href') || '';
const title = card.find('.video-title').text().trim();
const thumbnail = thumb.find('img').attr('src') || '';
const duration = thumb.find('.video-duration').text().trim() || null;
const views = card.find('.video-views').text().replace(/[^\d]/g, '') || null;
const uploader = card.find('.user-name a').text().trim() || null;
const shortId = url.match(/_([a-zA-Z0-9]+)\.html/)?.[1] || null;
if (title && url && !related.some(r => r.url === url)) {
related.push({
id: shortId,
title,
url,
thumbnail,
duration,
views: views ? parseInt(views, 10) : null,
uploader
});
}
});
return {
status: true,
title,
id: shortId,
url: targetUrl,
embedUrl,
views,
likes,
dislikes,
category,
uploader,
description,
streams,
downloads,
related: related.slice(0, 10)
};
}
module.exports = {
search,
latest,
trending,
top,
category,
detail
};
// CLI Runner
if (require.main === module) {
const arg1 = process.argv[2];
const arg2 = process.argv[3];
(async () => {
try {
if (!arg1) {
// Default: get latest videos
const res = await latest(1);
console.log(JSON.stringify(res, null, 2));
} else if (arg1 === '--latest') {
const res = await latest(arg2 || 1);
console.log(JSON.stringify(res, null, 2));
} else if (arg1 === '--trending') {
const res = await trending(arg2 || 1);
console.log(JSON.stringify(res, null, 2));
} else if (arg1 === '--top') {
const res = await top(arg2 || 1);
console.log(JSON.stringify(res, null, 2));
} else if (arg1 === '--category') {
const res = await category(arg2 || '1', 1);
console.log(JSON.stringify(res, null, 2));
} else if (arg1.startsWith('http://') || arg1.startsWith('https://') || arg1.includes('.html')) {
const res = await detail(arg1);
console.log(JSON.stringify(res, null, 2));
} else {
// Search query
const res = await search(arg1, arg2 || 1);
console.log(JSON.stringify(res, null, 2));
}
} catch (err) {
console.error(JSON.stringify({
status: false,
error: err.message
}, null, 2));
process.exit(1);
}
})();
}