Commit 620ee871 authored by Yen Chi Hsuan's avatar Yen Chi Hsuan
Browse files

[openload] Fix extraction (closes #15118)

parent 2ca7ed41
version <unreleased>
Extractors
* [openload] Fix extraction (#15118)
version 2017.12.28
Extractors
......
......@@ -332,7 +332,8 @@ class OpenloadIE(InfoExtractor):
phantom = PhantomJSwrapper(self, required_version='2.0')
webpage, _ = phantom.get(page_url, html=webpage, video_id=video_id, headers=headers)
decoded_id = get_element_by_id('streamurl', webpage)
decoded_id = (get_element_by_id('streamurl', webpage) or
get_element_by_id('streamuri', webpage))
video_url = 'https://openload.co/stream/%s?mime=true' % decoded_id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment