From 43fc2f093bd5401a86369ed4ff3ee0d6ea3f54ef Mon Sep 17 00:00:00 2001 From: josdion Date: Thu, 19 Mar 2020 13:54:27 +0200 Subject: [PATCH] do not remove apostrophe when calling sanitize() Removing apostrophe from movie and tv names will lead to missing matches. --- libs/subliminal_patch/providers/yavkanet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/subliminal_patch/providers/yavkanet.py b/libs/subliminal_patch/providers/yavkanet.py index 8c2a51aa0..a74c28038 100644 --- a/libs/subliminal_patch/providers/yavkanet.py +++ b/libs/subliminal_patch/providers/yavkanet.py @@ -96,10 +96,10 @@ class YavkaNetProvider(Provider): } if isEpisode: - params['s'] = "%s s%02de%02d" % (sanitize(video.series), video.season, video.episode) + params['s'] = "%s s%02de%02d" % (sanitize(video.series, {'\''}), video.season, video.episode) else: params['y'] = video.year - params['s'] = video.title + params['s'] = sanitize(video.title, {'\''}) if language == 'en' or language == 'eng': params['l'] = 'EN'