Imdbphp Versions Save

PHP library for retrieving film and tv information from IMDb

v7.2.0

2 years ago

Additions:

  • $ratings parameter to Title::mpaa() to get all ratings instead of just the last one. @PoLaKoSz #204
  • Format list items using - instead of returning <li> in Title::alternateVersions(). @duck7000 #228

Bug fixes:

  • Title::mpaa() due to new design. @duck7000 #231
  • Title::plot() as it returned incorrect author. @duck7000 #237
  • Title::episodes() could crash as bySeason weren't always available.

v7.1.0

2 years ago

Additions:

  • Title::episodes() now has a image_url field on each episode with a url pointing to the picture for that episode

Bug fixes:

  • Fix Title::episodes() failing when a season had a lot of episodes. Thanks @duck7000 #242
  • Fix Title::episodes() for shows with only one season #239
  • Fix Title::movie_recommendations() throwing errors when data such as rating was missing from the recommendation. Thanks @M0H4MM4D0UTIS #240

v7.0.0

2 years ago

Many changes were needed because of the change of the title page on IMDb, but the library should work as it did in the previous version before the site change. You must clear your cache folders to make sure the new pages are downloaded, as the old pages are no longer supported. Thanks to @M0H4MM4D0UTIS , @duck7000 and @buborh for their contributions to making this release possible.

Breaking changes:

  • Title::mainPictures() and Title::prodNotes() have been removed
  • Title::movie_recommendations() no longer returns year, endyear and votes
  • Title::movietype() used to return 'TV Mini-Series' but now returns 'TV Mini Series'. The constant Title::TV_MINI_SERIES has been updated

Fixes:

  • TitleSearch returned no results for TV_MINI_SERIES

v6.5.1

3 years ago

A bit of a temporary hack to force the library to use the old version of the site. This might not work for very long.

v6.5.0

3 years ago

Additions:

  • Fixed Title::isEpisode() returning true for series' and made it public. Thanks @amirsasani #213
  • New method Title::actor_stars() to get only the stars of the title rather than all cast members. Thanks @M0H4MM4D0UTIS #211

Bug Fixes:

  • Fix Title::extReviews() not returning anything (broken due to html changes on imdb)
  • Remove excess whitespace on Title::officialSites()
  • Deprecate spoilers on Title::trivia(). They're no longer on IMDb

v6.4.2

3 years ago
  • Fix Person ID length is always 7 in PersonSearch::results() #201 (Some newer people have 9 digit IDs)
  • Fix Charts::getChartsTop10() showing the box office instead of the popular ranking and also showing 2 of each films

v6.4.1

3 years ago

Fix Charts::getChartsBoxOffice() erroring when a gross or weekend amount was shown in thousands ($300K)

v6.4.0

4 years ago

New

  • Added Title::cinematographer() #193. Thanks @jetrosuni

Fixes

  • Fixed number of votes on Title::movie_recommendations() for some european locales #190
  • Close curl handles after finishing request #191
  • Fix Title::officialSites() not fetching the url after a site change

v6.3.0

4 years ago

New:

  • Added rating and votes to the results of Title::movie_recommendations() #179

Fixed:

  • Fix TitleSearch::search() as $maxResults were never being used #111
  • Fix TitleSearch::search() as it returned incorrect movietype for TV Episode #154
  • Fix TitleSearch::search() as it incorrectly detected year on some titles #178
  • Fix Person::trivia(), Person::quotes() and Person::trademark() for returning default "no content"-text #171
  • 8 digit ids were not being parsed correctly for the demo application #176

v6.2.2

5 years ago

Fixes:

  • 8 digit ids were not being parsed correctly for Title::director() and Title::producer() #168