aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/openload.py
diff options
context:
space:
mode:
authorTithen-Firion <tithen.firion.0@gmail.com>2017-04-29 12:41:57 +0200
committerTithen-Firion <tithen.firion.0@gmail.com>2017-04-29 12:41:57 +0200
commit7552f96352f35cd877e52fd0770b77ba1856fc62 (patch)
treea6cd8d790901a448e0f2b8910a3f8f6f0817367a /youtube_dl/extractor/openload.py
parent98f9d873814da2a8584cc30c0e197c15ed249db3 (diff)
downloadyoutube-dl-7552f96352f35cd877e52fd0770b77ba1856fc62.tar.xz
[openload] Add required version
Diffstat (limited to 'youtube_dl/extractor/openload.py')
-rw-r--r--youtube_dl/extractor/openload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py
index 0adf17765..292476ef8 100644
--- 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)