This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[brightcove] Fix check for url in the result
It may have the ‘formats’ field instead of ‘url’.
totalwebcasting
Jaime Marquínez Ferrándiz
11 years ago
parent
bc4ba05fcb
commit
d614aa40e3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/brightcove.py
+ 1
- 1
youtube_dl/extractor/brightcove.py
View File
@ -230,6 +230,6 @@ class BrightcoveIE(InfoExtractor):
else
:
return
ad_info
if
'
url
'
not
in
info
:
if
'
url
'
not
in
info
and
not
info
.
get
(
'
formats
'
)
:
raise
ExtractorError
(
'
Unable to extract video url for
%s
'
%
info
[
'
id
'
]
)
return
info
Write
Preview
Loading…
Cancel
Save