projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6edaa0e
)
[extractor/common] Check validity of direct URLs
author
Sergey M․
<dstftw@gmail.com>
Thu, 1 Oct 2015 16:54:54 +0000
(22:54 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 1 Oct 2015 16:54:54 +0000
(22:54 +0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index b86d0652338457a65c4fc655d5e0406aa42850b0..b928e24beed9cd161b2fa84c9b410980268c0061 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-1145,7
+1145,7
@@
class InfoExtractor(object):
formats.extend(self._extract_f4m_formats(f4m_url, video_id, f4m_id='hds'))
continue
- if src_url.startswith('http'):
+ if src_url.startswith('http')
and self._is_valid_url(src, video_id)
:
http_count += 1
formats.append({
'url': src_url,