PHP library for retrieving film and tv information from IMDb
Additions:
$ratings
parameter to Title::mpaa()
to get all ratings instead of just the last one. @PoLaKoSz #204-
instead of returning <li>
in Title::alternateVersions()
. @duck7000 #228Bug fixes:
Title::mpaa()
due to new design. @duck7000 #231Title::plot()
as it returned incorrect author. @duck7000 #237Title::episodes()
could crash as bySeason
weren't always available.Additions:
Title::episodes()
now has a image_url field on each episode with a url pointing to the picture for that episodeBug fixes:
Title::episodes()
failing when a season had a lot of episodes. Thanks @duck7000 #242Title::episodes()
for shows with only one season #239Title::movie_recommendations()
throwing errors when data such as rating was missing from the recommendation. Thanks @M0H4MM4D0UTIS #240Many 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 removedTitle::movie_recommendations()
no longer returns year, endyear and votesTitle::movietype()
used to return 'TV Mini-Series' but now returns 'TV Mini Series'. The constant Title::TV_MINI_SERIES
has been updatedFixes:
TitleSearch
returned no results for TV_MINI_SERIES
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.
Additions:
Title::isEpisode()
returning true for series' and made it public. Thanks @amirsasani #213Title::actor_stars()
to get only the stars of the title rather than all cast members. Thanks @M0H4MM4D0UTIS #211Bug Fixes:
Title::extReviews()
not returning anything (broken due to html changes on imdb)Title::officialSites()
Title::trivia()
. They're no longer on IMDbPersonSearch::results()
#201 (Some newer people have 9 digit IDs)Charts::getChartsTop10()
showing the box office instead of the popular ranking and also showing 2 of each filmsFix Charts::getChartsBoxOffice()
erroring when a gross or weekend amount was shown in thousands ($300K)
New
Title::cinematographer()
#193. Thanks @jetrosuniFixes
Title::movie_recommendations()
for some european locales #190Title::officialSites()
not fetching the url after a site changeNew:
rating
and votes
to the results of Title::movie_recommendations()
#179Fixed:
TitleSearch::search()
as $maxResults
were never being used #111TitleSearch::search()
as it returned incorrect movietype for TV Episode #154TitleSearch::search()
as it incorrectly detected year on some titles #178Person::trivia()
, Person::quotes()
and Person::trademark()
for returning default "no content"-text #171Fixes:
Title::director()
and Title::producer()
#168