mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
do not remove apostrophe when calling sanitize()
Removing apostrophe from movie and tv names will lead to missing matches.
This commit is contained in:
parent
13bf1b7a76
commit
43fc2f093b
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue