mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
[openload] fix js evaluation
This commit is contained in:
parent
9650c3e91d
commit
50724167ce
@ -95,7 +95,7 @@ class PhantomJSwrapper(object):
|
|||||||
phantom.exit();
|
phantom.exit();
|
||||||
}};
|
}};
|
||||||
page.onLoadFinished = function(status) {{
|
page.onLoadFinished = function(status) {{
|
||||||
if(page.url === "") {{
|
if(page.url === "" || page.url === "about:blank") {{
|
||||||
page.setContent(fs.read("{html}", read), "{url}");
|
page.setContent(fs.read("{html}", read), "{url}");
|
||||||
}}
|
}}
|
||||||
else {{
|
else {{
|
||||||
|
Loading…
Reference in New Issue
Block a user