diff --git a/core/utils.py b/core/utils.py index a949bea..c987741 100644 --- a/core/utils.py +++ b/core/utils.py @@ -217,6 +217,7 @@ def js_extractor(response): def handle_anchor(parent_url, url): + scheme = urlparse(parent_url).scheme if url[:4] == 'http': return url elif url[:2] == '//':