remove anchor from source URLs
[phinde.git] / src / phinde / LinkExtractor / Html.php
index 7b987e3280fa0b298c7c0f9b2ef774eb15cc5a87..b3a9ea65170f8f50bd5a09492c72eb7e028829f3 100644 (file)
@@ -8,7 +8,7 @@ class Html
 {
     public function extract(\HTTP_Request2_Response $res)
     {
-        $url = $res->getEffectiveUrl();
+        $url = Helper::removeAnchor($res->getEffectiveUrl());
 
         $linkInfos = array();