From a00d50d5201a0c7b30e83f686422d18386f7c1b3 Mon Sep 17 00:00:00 2001 From: German Gutierrez Date: Fri, 7 Feb 2020 09:01:43 +0100 Subject: [PATCH] legendasdivx: adding imdb (alternative) search --- libs/subliminal_patch/providers/legendasdivx.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libs/subliminal_patch/providers/legendasdivx.py b/libs/subliminal_patch/providers/legendasdivx.py index 9d2796964..a755fd6e4 100644 --- a/libs/subliminal_patch/providers/legendasdivx.py +++ b/libs/subliminal_patch/providers/legendasdivx.py @@ -125,7 +125,6 @@ class LegendasdivxProvider(Provider): } loginpage = site + '/forum/ucp.php?mode=login' searchurl = site + '/modules.php?name=Downloads&file=jz&d_op=search&op=_jz00&query={query}' - imdbsearchurl = site + '/modules.php?name=Downloads&d_op=search&imdbid={query}' language_list = list(languages) def __init__(self, username, password): @@ -243,9 +242,7 @@ class LegendasdivxProvider(Provider): elif isinstance(video, Movie): querytext = video.title else: - # _searchurl = self.imdbsearchurl - querytext = video.title - # querytext = video.imdb_id + querytext = video.imdb_id # querytext = querytext.replace(