]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[openload] Add required version
authorTithen-Firion <tithen.firion.0@gmail.com>
Sat, 29 Apr 2017 10:41:57 +0000 (12:41 +0200)
committerTithen-Firion <tithen.firion.0@gmail.com>
Sat, 29 Apr 2017 10:41:57 +0000 (12:41 +0200)
youtube_dl/extractor/openload.py

index 0adf177658ac2e0cb68b9b05972426a15f18cf66..292476ef86cf8680fc59e58488f84cae44da7947 100644 (file)
@@ -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)