aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/LinkExtractor
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-09-01 07:38:08 +0200
committerChristian Weiske <cweiske@cweiske.de>2016-09-01 07:38:08 +0200
commit8b9ae4fc9a3f8402001dd1a054658d5e1246efff (patch)
tree26a1ad8bdd0856f8a66d7ad2981ec37a0a22e397 /src/phinde/LinkExtractor
parent9d97bab663adb122d6edf7c15639a3457e94c71f (diff)
downloadphinde-8b9ae4fc9a3f8402001dd1a054658d5e1246efff.tar.gz
phinde-8b9ae4fc9a3f8402001dd1a054658d5e1246efff.zip
remove anchor from source URLs
Diffstat (limited to 'src/phinde/LinkExtractor')
-rw-r--r--src/phinde/LinkExtractor/Html.php2
1 files changed, 1 insertions, 1 deletions
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();