Skip to content

Commit fdcda34

Browse files
committed
Space needs to be encoded to allow multi-seeds
1 parent 7625dad commit fdcda34

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)