Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
de329f64
Commit
de329f64
authored
Jan 04, 2018
by
Yen Chi Hsuan
Browse files
[openload] Fix extraction (closes #15166)
parent
75ba0efb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
ChangeLog
ChangeLog
+1
-0
youtube_dl/extractor/openload.py
youtube_dl/extractor/openload.py
+5
-1
No files found.
ChangeLog
View file @
de329f64
version <unreleased>
Extractors
* [openload] Fix extraction (#15166)
* [rtve.es:alacarta] Fix extraction of some new URLs
...
...
youtube_dl/extractor/openload.py
View file @
de329f64
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment