1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[openload] fix js evaluation

This commit is contained in:
David McFarland 2018-01-03 00:35:30 -04:00
parent 9650c3e91d
commit 50724167ce

View File

@ -95,7 +95,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 {{