Fixed legendasdivx provider while searching for movies subtitles

pull/2550/head
modem 5 months ago committed by GitHub
parent 55d96b3231
commit 9a52b3c539
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -325,9 +325,9 @@ class LegendasdivxProvider(Provider):
search_url = _searchurl.format( search_url = _searchurl.format(
query=querytext, query=querytext,
season=video.season, season='' if isinstance(video, Movie) else video.season,
episode=video.episode, episode='' if isinstance(video, Movie) else video.episode,
imdbid=video.series_imdb_id.replace('tt', '') if video.series_imdb_id else None, imdbid='' if isinstance(video, Movie) else video.series_imdb_id.replace('tt', '') if video.series_imdb_id else None,
op=op, op=op,
d_op=d_op, d_op=d_op,
) )

Loading…
Cancel
Save