We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d321834 commit fe5a4d1Copy full SHA for fe5a4d1
src/Imdb.php
@@ -149,10 +149,10 @@ public function search(string $search, array $options = []): array
149
150
// Encode search string as a standard URL string
151
// -> ' ' => '%20'
152
- $searc_url = urlencode(urldecode($search));
+ $search_url = urlencode(urldecode($search));
153
154
// Load imdb search page and parse the dom
155
- $page = $dom->fetch("https://www.imdb.com/find?q=$searc_url&s=".$options["category"], $options);
+ $page = $dom->fetch("https://www.imdb.com/find?q=$search_url&s=".$options["category"], $options);
156
157
// Add all search data to response $store
158
$response->add("titles", $htmlPieces->get($page, "titles"));
0 commit comments