fix tmdbapis

This commit is contained in:
jxxghp
2023-07-29 13:27:22 +08:00
parent d76fe5c039
commit 5d30921d2f
3 changed files with 16 additions and 2 deletions

View File

@ -62,7 +62,11 @@ class SearchChain(ChainBase):
results = self.systemconfig.get(SystemConfigKey.SearchResults)
if not results:
return []
return pickle.loads(results)
try:
return pickle.loads(results)
except Exception as e:
print(str(e))
return []
def browse(self, domain: str, keyword: str = None) -> List[TorrentInfo]:
"""