projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f9d87
)
[openload] Add required version
author
Tithen-Firion
<tithen.firion.0@gmail.com>
Sat, 29 Apr 2017 10:41:57 +0000
(12:41 +0200)
committer
Tithen-Firion
<tithen.firion.0@gmail.com>
Sat, 29 Apr 2017 10:41:57 +0000
(12:41 +0200)
youtube_dl/extractor/openload.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/openload.py
b/youtube_dl/extractor/openload.py
index 0adf177658ac2e0cb68b9b05972426a15f18cf66..292476ef86cf8680fc59e58488f84cae44da7947 100644
(file)
--- a/
youtube_dl/extractor/openload.py
+++ b/
youtube_dl/extractor/openload.py
@@
-79,7
+79,7
@@
class OpenloadIE(InfoExtractor):
if 'File not found' in webpage or 'deleted by the owner' in webpage:
raise ExtractorError('File not found', expected=True, video_id=video_id)
- phantom = PhantomJSwrapper(self)
+ phantom = PhantomJSwrapper(self
, required_version='2.0'
)
webpage, _ = phantom.get(url, html=webpage, video_id=video_id, headers=headers)
decoded_id = get_element_by_id('streamurl', webpage)