Hey Travis, Hope everything's going great for you :)
I have been playing around with API and noticed that when searched for a movie with the release year in the query string, it returns no results.
For example : https://api.themoviedb.org/3/search/company?api_key=API_KEY&query=Gravity%202013&page=1
returns :
{ "page": 1, "results": [], "total_pages": 1, "total_results": 0 }
This even happens on the website ( I never noticed it). I think the year should be considered in narrowing the results. Its not a feature that I am suggesting, but I think there should be some way around it (better pattern matching perhaps) so that the user doesn't get blank results .
This problem occurred when my python script query'd using the filename (minus the extension) which had years in it (eg. "Gravity (2013)")
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од lineker
дана 10. април 2017. у 7:45 AM
There is the y:2013 option for search on the website. I can't help you wth the API.
Одговор од Travis Bell
дана 18. април 2017. у 6:00 PM
We don't support adding the year as part of the search query. You can however use the
year
orprimary_release_year
params as per the documentation.