mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 12:08:09 +08:00
Merge pull request #4947 from pluto0x0/fix/4941-mttorent-imdb-search
This commit is contained in:
@@ -75,6 +75,9 @@ class MTorrentSpider:
|
||||
categories = self._tv_category
|
||||
else:
|
||||
categories = self._movie_category
|
||||
# mtorrent搜索imdb需要输入完整imdb链接,参见 https://wiki.m-team.cc/zh-tw/imdbtosearch
|
||||
if keyword.startswith("tt"):
|
||||
keyword = f"https://www.imdb.com/title/{keyword}"
|
||||
return {
|
||||
"keyword": keyword,
|
||||
"categories": categories,
|
||||
|
||||
Reference in New Issue
Block a user