Not Sure if anyone has already noticed this:
When looking up an incorrect imdb id or not including any id after the "tt" - the response returns a very graphical pornogrpaphic movie result & a very disturbing poster image!
Can someone at the team possibly fix this issue, as I was horrified to see a very disturbing image on my application earlier today. This only happens very rarely if the request isn't found from my app, but I'm very worried what my users might think if they are faced with this (the full poster path):
http://image.tmdb.org/t/p/w500/bneHD0vsXhZWowVojCq1HilnSy0.jpg
Merely from making an incorrect request like this:
https://api.themoviedb.org/3/find/tt?api_key=xxxxxxxxxxxxxxxx&external_source=imdb_id
Surely it would be better to have a blank response? ;)
Other than that - this is a truly great API
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by rory22
on July 11, 2014 at 5:24 PM
Thanks for getting back to me on this.
As you suggested about adult filtering - I simply added a "include_adult=false" to the string to prevent any unsuitable Movies from showing in the future.
Thanks for the help & advice! :)
Reply by Travis Bell
on July 12, 2014 at 12:29 PM
Hey rory22,
include_adult=false
is valid for all search and discover methods but keep in mind if you’re making a direct request for a movie item, you can simply check theadult
field that is returned (an example case would be if you’re just looping through ids).Cheers.