omdbapi / OMDb-API

The Open Movie Database Bug Tracking
420 stars 21 forks source link

Incorrect episode data in season request #29

Open duckdoom5 opened 7 years ago

duckdoom5 commented 7 years ago

Example A: (Missing title)

http://www.omdbapi.com/?r=xml&t=Lucifer&Season=3

<result Title="Episode #3.4" Episode="4" imdbID="tt6552806"/>

http://www.omdbapi.com/?r=xml&t=Lucifer&Season=3&Episode=4 <movie title="What Would Lucifer Do?" ... imdbID="tt6552806" seriesID="tt4052886" type="episode"/>

Example B: (Missing episodes)

http://www.omdbapi.com/?r=xml&i=tt3205802&Season=4 (Missing episode 4 and 7)

<root Title="How to Get Away with Murder" Season="4" totalSeasons="4" Response="True">
    <result Title="I'm Going Away" Released="2017-09-28" Episode="1" imdbRating="7.8" imdbID="tt6523882"/>
    <result Title="I'm Not Her" Released="2017-10-05" Episode="2" imdbRating="8.7" imdbID="tt7094460"/>
    <result Title="It's for the Greater Good" Released="2017-10-12" Episode="3" imdbRating="8.6" imdbID="tt7094556"/>
    <result Title="I Love Her" Released="2017-10-26" Episode="5" imdbID="tt7323688"/>
    <result Title="Stay Strong, Mama" Released="2017-11-02" Episode="6" imdbRating="7.5" imdbID="tt7528666"/>
</root>

http://www.omdbapi.com/?r=xml&t=How%20to%20Get%20Away%20with%20Murder&Season=4 (Expected result)

<root Title="How to Get Away with Murder" Season="4" totalSeasons="4" Response="True">
    <result Title="I'm Going Away" Released="2017-09-28" Episode="1" imdbRating="7.9" imdbID="tt6523882"/>
    <result Title="I'm Not Her" Released="2017-10-05" Episode="2" imdbRating="8.6" imdbID="tt7094460"/>
    <result Title="It's for the Greater Good" Released="2017-10-12" Episode="3" imdbRating="8.6" imdbID="tt7094556"/>
    <result Title="Was She Ever Good at Her Job?" Released="2017-10-19" Episode="4" imdbRating="8.5" imdbID="tt7094568"/>
    <result Title="I Love Her" Released="2017-10-26" Episode="5" imdbID="tt7323688"/>
    <result Title="Stay Strong, Mama" Released="2017-11-02" Episode="6" imdbRating="7.5" imdbID="tt7528666"/>
    <result Title="Nobody Roots For Goliath" Released="2017-11-09" Episode="7" imdbRating="9.0" imdbID="tt7528726"/>
</root>
torben-w commented 6 years ago

I think this issue can be closed as all the links provide correct results: 2017 12 09_18h43m43s_001_ 2017 12 09_18h46m32s_002_

duckdoom5 commented 6 years ago

This was just an example of the many times this happens. After a couple of days/weeks the error gets corrected. I presume automatically as I presume the data is parsed from the IMDB nightly database dumps they release.

I would love to know how the data is actually parsed or updated, but unfortunately there isn't any code on this github. For now I can only assume there are errors in the parser that cause this issue, which means this issue is still relevant. The examples just no longer are.

zack-emmert commented 6 years ago

Found a similar issue with Scorpion season 4: http://www.omdbapi.com/?apikey=[key]&i=tt3514324&season=4 There's one missing title, and two missing episodes

gnistdesign commented 6 years ago

Found several similar issues:

The Crown s2: https://www.omdbapi.com/?apikey=[key]&i=tt4786824&season=2&r=xml

Every season of Blackadder has these issues: The Black Adder: https://www.omdbapi.com/?apikey=[key]&i=tt0084988&season=1&r=xml Black-Adder II: https://www.omdbapi.com/?apikey=[key]&i=tt0088484&season=1&r=xml Black Adder the Third: https://www.omdbapi.com/?apikey=[key]&i=tt0092324&season=1&r=xml Blackadder Goes Forth: https://www.omdbapi.com/?apikey=[key]&i=tt0096548&season=1&r=xml