SpaceK33z / plex2netflix

See how much of your media from Plex is available on Netflix.
273 stars 23 forks source link

Fix media with apostrophe in the title failing #3

Closed SpaceK33z closed 7 years ago

SpaceK33z commented 8 years ago

Apparently this doesn't work.

onedr0p commented 8 years ago

+1

SpaceK33z commented 8 years ago

@onedr0p, could you maybe provide a move title where this fails with? Because so far all my movies with apostrophes are working.

onedr0p commented 8 years ago

This is stuff that gets a 404

"Everybody Loves Raymond" The Bachelor Party (TV ... (undefined) - failed request (code: 404)
Hans Brinker or the Silver Skates: Part 1 (1962) - failed request (code: 404)
American Hero (2015) - failed request (code: 404)

This are apostrophe errors

Child's Play 3 (1991) - failed request (code: Error: invalid response)
Child's Play (1988) - failed request (code: Error: invalid response)
Child's Play 2 (1990) - failed request (code: Error: invalid response)
A Bug's Life (1998) - failed request (code: Error: invalid response)
garrettben commented 8 years ago

Might be the combination of apostrophe and parenthesis.

Ferris Bueller's Day Off (1986) - failed request (code: Error: invalid response) Harry Potter and the Philosopher's Stone (2001) - failed request (code: Error: invalid response) It's Bad for Ya (2008) - failed request (code: Error: invalid response) Kelly's Heroes (1970) - failed request (code: Error: invalid response) The King's Speech (2010) - failed request (code: Error: invalid response) On Her Majesty's Secret Service (1969) - failed request (code: Error: invalid response) Pan's Labyrinth (2006) - failed request (code: Error: invalid response) One Flew Over the Cuckoo's Nest (1975) - failed request (code: Error: invalid response)

On Wed, Dec 30, 2015 at 5:29 PM, Kees Kluskens notifications@github.com wrote:

@onedr0p https://github.com/onedr0p, could you maybe provide a move title where this fails with? Because so far all my movies with apostrophes are working.

— Reply to this email directly or view it on GitHub https://github.com/SpaceK33z/plex2netflix/issues/3#issuecomment-168086438 .

Septan commented 8 years ago

Let's Be Cops (2014) - failed request (code: Error: invalid response) Scooby-Doo! And Kiss: Rock and Roll Mystery (2015) - failed request (code: 404) Three O'Clock High (1987) - failed request (code: Error: invalid response)

SpaceK33z commented 8 years ago

Unfortunately I can't fix the Error: invalid response for now, because this is a bug in the Netflix Roulette API. I will look into the failed request (code: 404) ones.

Does someone happen to know another API that allows you to use the IMDb ID to check the Netflix availability?

SpaceK33z commented 8 years ago

I debugged the movie Scooby-Doo! And Kiss: Rock and Roll Mystery. The tool finds it with imdb id tt4717798, which is correct. It then tries to do a GET request to https://netflixroulette.net/api/v2/usa/imdb/?imdbId=tt4717798, which fails with a 404. I reported the issue in Codeusa/Netflix-Roulette-API#11

SpaceK33z commented 7 years ago

Fix released with plex2netflix@0.5.0. Better late than never!