Fix google drive links with \xkk in them
This commit is contained in:
parent
5a4b18a1e7
commit
f7bf915f87
|
@ -650,6 +650,9 @@ var Getters = {
|
|||
var data = m[1];
|
||||
data = data.substring(data.indexOf(",") + 1);
|
||||
data = data.replace(/'(.*?)'([:\,\}\]])/g, "\"$1\"$2");
|
||||
data = data.replace(/\\x(\d*)/g, function (sub, s1) {
|
||||
return String.fromCharCode(parseInt(s1, 16));
|
||||
});
|
||||
data = "[" + data + "]";
|
||||
var js = JSON.parse(data);
|
||||
var title = js[0].title;
|
||||
|
|
Loading…
Reference in a new issue