tboothman / imdbphp

PHP library for retrieving film and tv information from IMDb
251 stars 84 forks source link

quick fix for series cinematogropher #279

Open AucT opened 2 years ago

AucT commented 2 years ago

https://github.com/tboothman/imdbphp/blob/master/src/Imdb/Title.php line 1848

$cinematographer_rows = $this->get_table_rows($this->getPage('Credits'), "Cinematography by");

change to

$cinematographer_rows = $this->get_table_rows($this->getPage('Credits'), "Cinematography by");
        if (!$cinematographer_rows) {
            $cinematographer_rows = $this->get_table_rows($this->getPage('Credits'), "Series Cinematography by");
        }
duck7000 commented 2 years ago

Good catch. But if you want this to be changed i suggest to make a PR (if you can that is)