Skip to content

Commit 24f2993

Browse files
authored
Merge pull request jxxghp#4958 from cddjr/fix_browse_mteam
2 parents 06abfc4 + c80bfbf commit 24f2993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/modules/indexer/spider/mtorrent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __get_params(self, keyword: str, mtype: MediaType = None, page: Optional[int
7676
else:
7777
categories = self._movie_category
7878
# mtorrent搜索imdb需要输入完整imdb链接,参见 https://wiki.m-team.cc/zh-tw/imdbtosearch
79-
if keyword.startswith("tt"):
79+
if keyword and keyword.startswith("tt"):
8080
keyword = f"https://www.imdb.com/title/{keyword}"
8181
return {
8282
"keyword": keyword,

0 commit comments

Comments
 (0)