diff --git a/custom_libs/subliminal_patch/providers/legendasdivx.py b/custom_libs/subliminal_patch/providers/legendasdivx.py index 2b04dc373..e4d839ed2 100644 --- a/custom_libs/subliminal_patch/providers/legendasdivx.py +++ b/custom_libs/subliminal_patch/providers/legendasdivx.py @@ -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, )