From fdcda347745528068efa9938c5faba2e0da7a8c9 Mon Sep 17 00:00:00 2001 From: Tegan Snyder Date: Tue, 8 Aug 2017 12:52:04 -0500 Subject: [PATCH] Space needs to be encoded to allow multi-seeds --- src/Api/Crawl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Crawl.php b/src/Api/Crawl.php index b0a5a48..b43d2e9 100644 --- a/src/Api/Crawl.php +++ b/src/Api/Crawl.php @@ -502,7 +502,7 @@ public function buildUrl() // Add seeds if (!empty($this->seeds)) { - $url .= '&seeds=' . implode(' ', array_map(function ($item) { + $url .= '&seeds=' . implode('%20', array_map(function ($item) { return urlencode($item); }, $this->seeds)); } @@ -569,4 +569,4 @@ protected function getApiString() return urlencode($this->api->buildUrl()); } -} \ No newline at end of file +}