Jump to content

The Movie DB Scraper


Recommended Posts

BiTeTHeBiGG
Posted (edited)

Hi,

 

just getting wrong results for a movie and after watching in the logs I see that the words separated by a dot are are not transformed in query url for the api.

2020-03-21 14:21:45.046 Info App: MovieDbProvider: Finding id for item: Frankensteins.Kampf.gegen.die.Teufelsmonster
2020-03-21 14:21:45.046 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=Frankensteins.Kampf.gegen.die.Teufelsmonster&language=de

So the movie "Frankensteins Kampf gegen die Teufelsmonster" with file name "Frankensteins.Kampf.gegen.die.Teufelsmonster.1971.mkv" will be searched with this URL and you wont get the right result.

After replacing the dots with a plus sign gets me to the right movie.

I think there was in the past a similar behaviour? Or was it fot the tvdb api?

When I use this URL, then all is ok.

 

I'm on Synology, Emby 4.3.1.0 and plugin 1.3.0.0 .

 

Best regards

BiTe

Edited by BiTeTHeBiGG
Posted

Hi, yes we already have handling for this. If the first attempt produces no results then it will adjust the name and try again.

BiTeTHeBiGG
Posted

Hi Luke, yes this will happen when no results. But in my example there are results, many, but no one is the right one and I have to identify manually with spaces.

Greets

BiTe

Posted

Yea i see your point. This is a tricky one though as we've had it this way for a long time so there's a potential to create new problems. Ideally moviedb would have some guidance on whether or not you should pre-process the search terms before using the search api, and if so, how @@Happy2Play.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...