Giter Site home page Giter Site logo

Comments (2)

wagnerrp avatar wagnerrp commented on September 25, 2024

When you search for a movie, the API returns a very abbreviated set of information. Specifically, you get title, original title, release date, popularity, user rating, and a couple images. Anything beyond that, such as runtime, IMDb number, or overview, requires a second API call, which these bindings perform transparently in the background.

The problem appears to be that the search returns "title" as the translated title, however the movie lookup returns title as the country specific title. Check the difference in results between these two calls.

http://api.themoviedb.org/3/movie/11482?api_key=1acd79ff610c77f3040073d004f7f5b0&language=en
http://api.themoviedb.org/3/movie/11482?api_key=1acd79ff610c77f3040073d004f7f5b0&language=en&country=us

The first returns the title as "Le locataire", while the second returns "The Tenant". The obvious solution would be to add the country into the lookup query, however the API does not explicitly state country as an option to that call, and there is a lot of other information missing. Something weird is going on, so I'll pass this on up to the TMDB forums.

from pytmdb3.

wagnerrp avatar wagnerrp commented on September 25, 2024

Looks like this is an upstream issue. Someone queried using the upper case 'EN', causing a broken response that then got cached. The 'country' parameter had nothing to do with the fix, beyond the different URL resulted in bypassing the incorrect cached value. See...

http://www.themoviedb.org/talk/5081203e760ee3329800090d
http://www.themoviedb.org/talk/507f0c9a19c295255e00025b

from pytmdb3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.