mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 08:34:32 +01:00
[openload] fix js evaluation
This commit is contained in:
parent
9650c3e91d
commit
50724167ce
@ -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 {{
|
||||
|
Loading…
Reference in New Issue
Block a user