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
找不到电影或节目?登录并创建它吧。
rory22 的回复
于 2014 年 07 月 11 日 5:24下午
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! :)
Travis Bell 的回复
于 2014 年 07 月 12 日 12:29下午
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.