projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f790b9
)
[npo] Skip broken URL links (Closes #5266)
author
Sergey M․
<dstftw@gmail.com>
Mon, 23 Mar 2015 16:15:01 +0000
(22:15 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 23 Mar 2015 16:15:01 +0000
(22:15 +0600)
youtube_dl/extractor/npo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/npo.py
b/youtube_dl/extractor/npo.py
index 557dffa46846ff8a4c94f6bb102a186fa1ce5eb8..5d84485714b9f360d47c8676710e9c3e6d9578c7 100644
(file)
--- a/
youtube_dl/extractor/npo.py
+++ b/
youtube_dl/extractor/npo.py
@@
-231,7
+231,10
@@
class NPOLiveIE(NPOBaseIE):
stream_url = self._download_json(
stream_info['stream'], display_id,
'Downloading %s URL' % stream_type,
- transform_source=strip_jsonp)
+ 'Unable to download %s URL' % stream_type,
+ transform_source=strip_jsonp, fatal=False)
+ if not stream_url:
+ continue
if stream_type == 'hds':
f4m_formats = self._extract_f4m_formats(stream_url, display_id)
# f4m downloader downloads only piece of live stream