Skip to content

Commit

Permalink
fixed a crawler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v authored Apr 30, 2019
1 parent d28d553 commit 5a6d773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] == '//':
Expand Down

0 comments on commit 5a6d773

Please sign in to comment.