DEV Community

liamlo-dev
liamlo-dev

Posted on

Download dood video (+ js -> img)

Example:
https://dooood.com/e/kluhm510q8r9
https://asiajjj.com/view1/54691/

Online decoder (may not work later):
https://9xbuddy.com/

Passing the 1st guard (no right click / F12):

View -> Developer

Passing the 2nd guard (Paused in debugger):

Deactivate breakpoints
Deactivate breakpoints

Passing the 3rd guard (download):

function saveFile(blob, filename) {
if (window.navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(blob, filename);
} else {
const a = document.createElement('a');
document.body.appendChild(a);
const url = window.URL.createObjectURL(blob);
a.href = url;
a.download = filename;
a.click();
setTimeout(() => {
window.URL.revokeObjectURL(url);
document.body.removeChild(a);
}, 0)
}
} // copy paste from a stackoverflow
const response = await fetch(videojs.getAllPlayers()[0]["src"]());
const reader = response.body.getReader();
var length = 0;
var total = +response.headers.get("content-length");
var chunks = [];
while(true) {
const {done, value} = await reader.read();
if (done) {
break;
}
chunks.push(value);
length += value.length;
console.log((length/total*100).toFixed(2)+"%");
}
var blob = new Blob(chunks);
saveFile(blob, "video.mp4")
Enter fullscreen mode Exit fullscreen mode

Passing the 4th guard (img src = "xxx.js"):

Download it anyway. Then change the file extension to jpg or png

Source: https://www.reddit.com/r/DataHoarder/comments/11m8eqa/need_help_downloading_videos_from_doodstream/

Top comments (0)