Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
403054751b
@ -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":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user