do not remove apostrophe when calling sanitize()

Removing apostrophe from movie and tv names will lead to missing matches.
This commit is contained in:
josdion 2020-03-19 13:54:27 +02:00
parent 13bf1b7a76
commit 43fc2f093b
1 changed files with 2 additions and 2 deletions

View File

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