This commit is contained in:
qist committed 2026-05-11 15:34:42 +08:00
1 parent cc8270c29e
commit 58523ef467
1 file changed
+5 -1
+5 -1
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;
}
try {
return eval(m[1]);
} catch (e) {
return null;
}
}
function pickPic(obj) {