Comments (2)
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.
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)
- Request params encoded using system encoding HOT 8
- Library broken with non-ascii country names in alternate titles HOT 2
- release HOT 3
- IndexError: list index out of range HOT 3
- tmdb3 + mythbuntu do not funcion HOT 1
- I can't upgrade HOT 3
- pytmdb3 will not accept my api_key HOT 2
- location support for releasedate? HOT 1
- throttling requests to tmdb backends
- freebsd package being selected from pip HOT 14
- Error on pip install (README.md not included in package) HOT 3
- /person/${id}/credits is obsolete
- Error importing tmdb3 HOT 1
- FileCacheObjects are not garbage collected
- Add missing status codes HOT 1
- search TV-series
- Get all of the TV-series
- Thread safe HOT 1
- Adult Search
- Pytmdb3 falling through to English when no Russian metadata is available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytmdb3.