feat: add douban url, optimize source aggregate

This commit is contained in:
shinya
2025-07-01 22:41:30 +08:00
parent 31069691ef
commit b732e9a3d4
12 changed files with 177 additions and 9 deletions

View File

@@ -494,7 +494,12 @@ function PlayPageClient() {
result.title.toLowerCase() === videoTitle.toLowerCase() &&
(videoYear
? result.year.toLowerCase() === videoYear.toLowerCase()
: true)
: true) &&
detailRef.current?.episodes.length &&
((detailRef.current?.episodes.length === 1 &&
result.episodes.length === 1) ||
(detailRef.current?.episodes.length > 1 &&
result.episodes.length > 1))
);
if (exactMatch) {