Fixed legendasdivx provider while searching for movies subtitles

pull/2550/head
modem 6 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(
query=querytext,
season=video.season,
episode=video.episode,
imdbid=video.series_imdb_id.replace('tt', '') if video.series_imdb_id else None,
season='' if isinstance(video, Movie) else video.season,
episode='' if isinstance(video, Movie) else video.episode,
imdbid='' if isinstance(video, Movie) else video.series_imdb_id.replace('tt', '') if video.series_imdb_id else None,
op=op,
d_op=d_op,
)

Loading…
Cancel
Save