Merge remote-tracking branch 'origin/main'

This commit is contained in:
jxxghp 2023-12-10 13:35:01 +08:00
commit 403054751b

View File

@ -120,7 +120,7 @@ def find_metainfo(title: str) -> Tuple[str, dict]:
if doubanid and doubanid[0].isdigit(): if doubanid and doubanid[0].isdigit():
metainfo['doubanid'] = doubanid[0] metainfo['doubanid'] = doubanid[0]
# 查找媒体类型 # 查找媒体类型
mtype = re.findall(r'(?<=type=)\d+', result) mtype = re.findall(r'(?<=type=)\w+', result)
if mtype: if mtype:
match mtype[0]: match mtype[0]:
case "movie": case "movie":