Wsparcie The Movie Database

Using the movie search API with the query string "Mr. & Mrs. Smith" limited to year 2005 I get results in the following order:

'original_title' => 'Mr. Christmas',
'original_title' => 'Mr. & Mrs. Smith',
'original_title' => 'Mr. Nice Guy',

And so on. This seems like a really incorrect search result ordering, is there any chance this can be fixed?

(Side note, performing the search with query_type => ngram does indeed give the correct movie as the first result but it follows it with a number of apparently random movie suggestions which makes me hesitant to rely on it for a large corpus of searches)

Also the when you search via the actual website for 'Mr. & Mrs. Smith' it sure doesn't return 'Mr. Christmas' !

3 odpowiedzi (strona 1 z 1)

Jump to last post

Hi rmzg,

Are you making sure to escape the ampersand?

http://api.themoviedb.org/3/search/movie?api_key=###&query=Mr.+%26+Mrs.+Smith

and

http://api.themoviedb.org/3/search/movie?api_key=###&query=Mr.+%26+Mrs.+Smith&search_type=ngram

Provide proper results.

Wow, thanks. I guess what's what I get for trusting third party libraries!

;)

If possible, you should contact the developer of the library and/or perhaps contribute a fix for it.

Cheers.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj