Miscellaneous Leaks

[Guide] Ripping models from Sketchfab

Submitted by HDR, , Thread ID: 152601

Thread Closed

RE: [Guide] Ripping models from Sketchfab

Vido
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
11
Credits:
13
21-07-2021, 05:28 PM
This post was last modified: 21-07-2021, 05:29 PM by Vido
#176
Hi guys,
here I will write briefly what you gone need to do to download unencrypted "binz" model's from Sketchfab
Open Chrome and Dev tools (F12), make tool horizontal and go to "Sources" and close all files in sources, hit "Ctrl + Shift + F" and type "this._xhr=" and hit enter, double click on bottom text line to open it
Click on "{}" to format code and hit "Ctrl +F" and find this line of code


Code:
this._xhr = {
              response: i,
              responseText: i


and insert break point at this line "his._xhr =" and reload page with "Ctrl + R", after that you will hit first break point and then go to "Console" and paste this code


Code:
var downloadBlob, downloadURL;

downloadBlob = function(data, fileName, mimeType) {
var blob, url;
blob = new Blob([data], {
  type: mimeType
});
url = window.URL.createObjectURL(blob);
downloadURL(url, fileName);
setTimeout(function() {
  return window.URL.revokeObjectURL(url);
}, 1000);
};

downloadURL = function(data, fileName) {
var a;
a = document.createElement('a');
a.href = data;
a.download = fileName;
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
};

downloadBlob(i, 'file.osgjs', 'application/octet-stream');



Hit "Enter" and save it in some directory. Reload page skip first break point by clicking on blue arrow (blue triangle) and paste code once more in Console from above "var downloadBlob, downloadURL; ...." just change name at bottom from "file.osgjs" to "model_file.bin" and that you will see blue bar go to up to half on load indicator . Now go in "Sources" and add second break point where "t ()" is line 33771 and reload page, click twice on first break point (blue triangle) and again hit twice "continue button blue triangle" to continue and click twice to continue once more time and after that you will see your model so paste code in Console and name it "model_file_wireframe.bin" and save it.
When you do all that open "file.osgjs" in text editor and open "find and replace" tool and replace all ."binz" with ".bin.gz".

Open Blender and hit Alt+P and open "file.osgjs" and that's it

Or you can follow my video tutrial which is on mega with other necessary files and codes

mega.nz/folder/cYZxDYIA#QcEoO-VY9kDQJqJYyXpsbA

Users browsing this thread: 7 Guest(s)