projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9ab526
)
Use native HLS implementation by default.
author
ngld
<ngld@tproxy.de>
Wed, 12 Aug 2015 18:51:28 +0000
(20:51 +0200)
committer
ngld
<ngld@tproxy.de>
Wed, 12 Aug 2015 18:51:28 +0000
(20:51 +0200)
youtube_dl/extractor/rtvnh.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rtvnh.py
b/youtube_dl/extractor/rtvnh.py
index f5c0b94a8e8fcecf44fb5d2880666bbd81261763..2799f01a60e57a0cf7e147f4b8ae70a8b5862b89 100644
(file)
--- a/
youtube_dl/extractor/rtvnh.py
+++ b/
youtube_dl/extractor/rtvnh.py
@@
-7,10
+7,6
@@
from .common import InfoExtractor
class RTVNHIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?rtvnh\.nl/video/(?P<id>[0-9]+)'
_TEST = {
class RTVNHIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?rtvnh\.nl/video/(?P<id>[0-9]+)'
_TEST = {
- 'params': {
- 'hls_prefer_native': True
- },
-
'url': 'http://www.rtvnh.nl/video/131946',
'md5': '6e1d0ab079e2a00b6161442d3ceacfc1',
'info_dict': {
'url': 'http://www.rtvnh.nl/video/131946',
'md5': '6e1d0ab079e2a00b6161442d3ceacfc1',
'info_dict': {
@@
-28,7
+24,7
@@
class RTVNHIE(InfoExtractor):
for item in meta['source']['fb']:
if item.get('type') == 'hls':
for item in meta['source']['fb']:
if item.get('type') == 'hls':
- formats.extend(self._extract_m3u8_formats(item['file'], video_id, ext='mp4'))
+ formats.extend(self._extract_m3u8_formats(item['file'], video_id, ext='mp4'
, entry_protocol='m3u8_native'
))
elif item.get('type') == '':
formats.append({'url': item['file']})
elif item.get('type') == '':
formats.append({'url': item['file']})