imdbphp
imdbphp copied to clipboard
PHP library for retrieving film and tv information from IMDb
storyline() and country() is returning an empty string
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"); } ```
It returns int based on how many valid years found. So for a tv series with 2002, 2003, 2004, 2005 it returns int 4
- added mainPictures back, output array is the same as previous method. This will get the 12 main images from the title page. Maybe the if checks need some attention?
Budget used data from script, this is however not reliable. Changed it to a more reliable method that scrapes the actual page. I do have however a few thoughts about...
This method get only the awards info at the title page inside the yellow block. I made this because this is a simple version for if you only want this...
This method was not working. #259 reveals that the problem is in this method I modified it al lot to get rid of at least one regular expression and easier...
- Rewrite to xpath. - Added back spoilers. - Output contains no html I don't know why it stated deprecated in the previous phpdoc, trivia spoilers are available? Maybe hard...
Parsing the runtime is not working on the following page: tt5884196 The runtime on the page is "2h" Thank you