OMDb-API icon indicating copy to clipboard operation
OMDb-API copied to clipboard

Problems with 'year' in search mode

Open jefairman opened this issue 1 year ago • 1 comments

When you send a title query like: curl "https://www.omdbapi.com?apikey=my_key&t=Star&y=2001" you get a response filtered for the year 2001.

When you send a search query like: curl "https://www.omdbapi.com?apikey=my_key&s=Star&y=2001" the response doesn't filter by year. It just ignores the y=2001 and you get back thousands of records.

jefairman avatar Jan 31 '24 21:01 jefairman

Hi, actually I am in the same situation. Unfortunately, OMDB api not supports query or search only by year like y=2010, you must include at least t as title or i as IMDB id, then you can find the movie you want. Actually I am stacked here as well. We have a small project need to search movie by title, year, actors, director. Unfortunately, no solution from now.

bluehawana avatar Feb 04 '24 21:02 bluehawana