fix: tmdb 同名返回已订阅
This commit is contained in:
parent
603eefb22f
commit
a0af2f4b68
@ -140,7 +140,8 @@ def subscribe_mediaid(
|
|||||||
if not doubanid:
|
if not doubanid:
|
||||||
return Subscribe()
|
return Subscribe()
|
||||||
result = Subscribe.get_by_doubanid(db, doubanid)
|
result = Subscribe.get_by_doubanid(db, doubanid)
|
||||||
|
# 豆瓣已订阅如果 id 搜索无结果使用标题搜索
|
||||||
|
# 会造成同名结果也会被返回
|
||||||
if not result and title:
|
if not result and title:
|
||||||
meta = MetaInfo(title)
|
meta = MetaInfo(title)
|
||||||
if season:
|
if season:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user