Temporary debugging..
This commit is contained in:
1 parent
66b261811b
commit
5425fa5007
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user