This commit is contained in:
qist
2026-05-11 15:34:42 +08:00
parent cc8270c29e
commit 58523ef467
+6 -2
View File
@@ -1,9 +1,13 @@
function getNuxtData(html) {
var m = html.match(/window\.__NUXT__=(.*?);<\/script>/s);
var m = html.match(/window\.__NUXT__=([\s\S]*?);<\/script>/);
if (!m) {
return null;
}
return eval(m[1]);
try {
return eval(m[1]);
} catch (e) {
return null;
}
}
function pickPic(obj) {