Merge pull request #807 from GermanG/legendasdivx

Legendasdivx: adding imdb (alternative) search
This commit is contained in:
morpheus65535 2020-02-07 15:45:23 -05:00 committed by GitHub
commit 13b62aafe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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(