Skip to content

Commit 5d36a1e

Browse files
authored
Merge pull request #56 from tegansnyder/master
Space needs to be encoded to allow multi-seeds
2 parents 7625dad + fdcda34 commit 5d36a1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/Crawl.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public function buildUrl()
502502

503503
// Add seeds
504504
if (!empty($this->seeds)) {
505-
$url .= '&seeds=' . implode(' ', array_map(function ($item) {
505+
$url .= '&seeds=' . implode('%20', array_map(function ($item) {
506506
return urlencode($item);
507507
}, $this->seeds));
508508
}
@@ -569,4 +569,4 @@ protected function getApiString()
569569

570570
return urlencode($this->api->buildUrl());
571571
}
572-
}
572+
}

0 commit comments

Comments
 (0)