1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 01:27:07 +00:00

legendasdivx: adding imdb (alternative) search

This commit is contained in:
German Gutierrez 2020-02-07 09:01:43 +01:00
parent acc30fe539
commit a00d50d520

View file

@ -125,7 +125,6 @@ class LegendasdivxProvider(Provider):
} }
loginpage = site + '/forum/ucp.php?mode=login' loginpage = site + '/forum/ucp.php?mode=login'
searchurl = site + '/modules.php?name=Downloads&file=jz&d_op=search&op=_jz00&query={query}' 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) language_list = list(languages)
def __init__(self, username, password): def __init__(self, username, password):
@ -243,9 +242,7 @@ class LegendasdivxProvider(Provider):
elif isinstance(video, Movie): elif isinstance(video, Movie):
querytext = video.title querytext = video.title
else: else:
# _searchurl = self.imdbsearchurl querytext = video.imdb_id
querytext = video.title
# querytext = video.imdb_id
# querytext = querytext.replace( # querytext = querytext.replace(