diff --git a/bridges/FSecureBlogBridge.php b/bridges/FSecureBlogBridge.php index 47910960..0ba5e22f 100644 --- a/bridges/FSecureBlogBridge.php +++ b/bridges/FSecureBlogBridge.php @@ -60,6 +60,10 @@ class FSecureBlogBridge extends BridgeAbstract { private function collectCategory($category) { $url = $this->getURI() . "/category/$category/"; while ($url) { + //Limit total amount of requests + if(count($this->items) >= 20) { + break; + } $url = $this->collectListing($url); } }