Temporary debugging..

This commit is contained in:
gdjdkid committed 2026-03-21 14:00:20 +08:00
1 parent 66b261811b
commit 5425fa5007
1 file changed
+2
+2
View File
@@ -195,6 +195,7 @@ function searchJavdb(id) {
if (!detailPath) detailPath = $('.movie-list .item a.box').first().attr('href');
if (!detailPath) return null;
console.error('找到detailPath:', detailPath); // 加这行
const detailHtml = execSync(
`curl -sL "https://javdb.com${detailPath}" \
@@ -207,6 +208,7 @@ function searchJavdb(id) {
try { unlinkSync(tmpFile); } catch {}
console.error('详情页HTML长度:', detailHtml.length); // 加这行
return parseJavdb(detailHtml, id);
} catch {
return null;