diff --git a/src/Imdb/Title.php b/src/Imdb/Title.php index 32457088..0023be36 100755 --- a/src/Imdb/Title.php +++ b/src/Imdb/Title.php @@ -2950,14 +2950,20 @@ public function officialSites() /** Get the complete keywords for the movie * @return array keywords * @see IMDB page /keywords - * @version Limited to 50 keywords */ public function keywords_all() { if (empty($this->all_keywords)) { - $page = $this->getPage("Keywords"); - if (preg_match_all('|]+?>(.*?)|', $page, $matches)) { - $this->all_keywords = $matches[1]; + $query = <<graphQlGetAll("TitleKeywordsPagination", "keywords", $query); + foreach ($edges as $edge) { + $this->all_keywords[] = $edge->node->keyword->text->text; } } return $this->all_keywords;