mirror of https://gitlab.com/bashrc2/epicyon
Try to fill in missing prefix
parent
eae34bb5c3
commit
3ffb05014b
|
@ -427,6 +427,10 @@ def verify_html(session, url: str, debug: bool,
|
|||
if not url_exists(session, url, 3, http_prefix, domain):
|
||||
return False
|
||||
|
||||
if '://' not in url:
|
||||
if url.startswith('/'):
|
||||
url = http_prefix + '://' + domain + url
|
||||
|
||||
as_header = {
|
||||
'Accept': 'text/html'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue