omdbapi / OMDb-API

The Open Movie Database Bug Tracking
416 stars 20 forks source link

imdbRating (and a few other fields) are "N/A" for newer titles #280

Open abunav6 opened 1 year ago

abunav6 commented 1 year ago

This is kind of similar to an older issue #60

You did mention that if currentDate >= releaseDate, the 30-day rule for fetching the imdbRating is overridden. Has that changed since this issue was closed (>4 years ago)?

For reference, these two movies, which have already been released, do not have ratings or runtime updated in the API:

URL: https://www.omdbapi.com/?i=tt14641788

{
  "Title": "Enola Holmes 2",
  "Year": "2022",
  "Rated": "PG-13",
  "Released": "04 Nov 2022",
  "Runtime": "N/A",
  "Genre": "Action, Adventure, Crime",
  "Director": "Harry Bradbeer",
  "Writer": "Jack Thorne, Nancy Springer, Harry Bradbeer",
  "Actors": "Millie Bobby Brown, Henry Cavill, Helena Bonham Carter",
  "Plot": "Now a detective-for-hire, Enola Holmes takes on her first official case to find a missing girl as the sparks of a dangerous conspiracy ignite a mystery that requires the help of friends - and Sherlock himself - to unravel",
  "Language": "English",
  "Country": "United Kingdom, United States",
  "Awards": "N/A",
  "Poster": "https://m.media-amazon.com/images/M/MV5BMDI1NWM1ZDItNDFhMi00YWRhLTg1YzItNTNhY2M2N2QzY2FkXkEyXkFqcGdeQXVyMTEyMjM2NDc2._V1_SX300.jpg",
  "Ratings": [],
  "Metascore": "N/A",
  "imdbRating": "N/A",
  "imdbVotes": "N/A",
  "imdbID": "tt14641788",
  "Type": "movie",
  "DVD": "04 Nov 2022",
  "BoxOffice": "N/A",
  "Production": "N/A",
  "Website": "N/A",
  "Response": "True"
}

URL: https://www.omdbapi.com/?&i=tt15128068

{
  "Title": "Monica, O My Darling",
  "Year": "2022",
  "Rated": "N/A",
  "Released": "11 Nov 2022",
  "Runtime": "129 min",
  "Genre": "Comedy, Crime, Drama",
  "Director": "Vasan Bala",
  "Writer": "Yogesh Chandekar",
  "Actors": "Radhika Apte, Huma Qureshi, Rajkummar Rao",
  "Plot": "Which a young man desperately tries to make it big with some unlikely allies and a dastardly diabolical plan to pull off the perfect murder.",
  "Language": "Hindi",
  "Country": "India",
  "Awards": "N/A",
  "Poster": "https://m.media-amazon.com/images/M/MV5BOTQ3YTU3ZDItOTgwOS00NjRlLTg1ODUtMjkwOGYzNDkwYzU5XkEyXkFqcGdeQXVyMTEzMTI1Mjk3._V1_SX300.jpg",
  "Ratings": [],
  "Metascore": "N/A",
  "imdbRating": "N/A",
  "imdbVotes": "N/A",
  "imdbID": "tt15128068",
  "Type": "movie",
  "DVD": "N/A",
  "BoxOffice": "N/A",
  "Production": "N/A",
  "Website": "N/A",
  "Response": "True"
}