Commit de329f64 authored by Yen Chi Hsuan's avatar Yen Chi Hsuan
Browse files

[openload] Fix extraction (closes #15166)

parent 75ba0efb
version <unreleased>
Extractors
* [openload] Fix extraction (#15166)
* [rtve.es:alacarta] Fix extraction of some new URLs
......
......@@ -333,7 +333,11 @@ class OpenloadIE(InfoExtractor):
webpage, _ = phantom.get(page_url, html=webpage, video_id=video_id, headers=headers)
decoded_id = (get_element_by_id('streamurl', webpage) or
get_element_by_id('streamuri', webpage))
get_element_by_id('streamuri', webpage) or
get_element_by_id('streamurj', webpage))
if not decoded_id:
raise ExtractorError('Can\'t find stream URL', video_id=video_id)
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