This commit is contained in:
David McFarland 2020-09-27 08:21:28 +08:00 committed by GitHub
commit 6b721f91bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class PhantomJSwrapper(object):
phantom.exit();
}};
page.onLoadFinished = function(status) {{
if(page.url === "") {{
if(page.url === "" || page.url === "about:blank") {{
page.setContent(fs.read("{html}", read), "{url}");
}}
else {{