summaryrefslogtreecommitdiff
path: root/crawler/Algorithms.php
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/Algorithms.php')
-rw-r--r--crawler/Algorithms.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/Algorithms.php b/crawler/Algorithms.php
index 66e6461..73d2ecc 100644
--- a/crawler/Algorithms.php
+++ b/crawler/Algorithms.php
@@ -47,7 +47,7 @@ class Algorithms
foreach ($path->query('//a') as $link) {
$linkHref = $link->getAttribute('href');
if ($linkHref !== 'javascript:void(0)') {
- $href = cleanUrl($linkHref);
+ $href = self::cleanUrl($linkHref);
$allLinks[] = $href;
}
}