From 8b9ae4fc9a3f8402001dd1a054658d5e1246efff Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 1 Sep 2016 07:38:08 +0200 Subject: remove anchor from source URLs --- src/phinde/LinkExtractor/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/phinde/LinkExtractor/Html.php') diff --git a/src/phinde/LinkExtractor/Html.php b/src/phinde/LinkExtractor/Html.php index 7b987e3..b3a9ea6 100644 --- a/src/phinde/LinkExtractor/Html.php +++ b/src/phinde/LinkExtractor/Html.php @@ -8,7 +8,7 @@ class Html { public function extract(\HTTP_Request2_Response $res) { - $url = $res->getEffectiveUrl(); + $url = Helper::removeAnchor($res->getEffectiveUrl()); $linkInfos = array(); -- cgit v1.2.3