-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Hi,
this issue is a follow up from an issue I have on PlexTraktSync available here: Taxel/PlexTraktSync#615
Two examples of shows that are not slugified correctly:
https://trakt.tv/shows/re-zero-starting-life-in-another-world
https://trakt.tv/shows/so-i-m-a-spider-so-what
I will quote the collaborator from PlexTraktSync:
On RE-Zero:
That's a very specific issue because of this show's name using - symbol :
Re:ZERO -Starting Life in Another World-
The trailing dash has been removed in Trakt slug version :re-zero-starting-life-in-another-worldwhereas the pytrakt module does not remove it with its own slugify() function :re-zero-starting-life-in-another-world-so it doesn't match and trakt API returns 404 error.
On So-I'm-a-spider:
it's the
i'mslugified intoimby PyTrakt module and intoi-min trakt database.
It's clearly a problem in slugify() function of PyTrakt module. It does not slugify exactly as official trakt.tv does.
Thank you