Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with 'year' in search mode #307

Open
jefairman opened this issue Jan 31, 2024 · 1 comment
Open

Problems with 'year' in search mode #307

jefairman opened this issue Jan 31, 2024 · 1 comment

Comments

@jefairman
Copy link

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.

@bluehawana
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants