aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorngld <ngld@tproxy.de>2015-08-12 20:51:28 +0200
committerngld <ngld@tproxy.de>2015-08-12 20:51:28 +0200
commitd7dbfc7cc18c2d54d7e1752def6c4710c58b49fc (patch)
tree7a3d607cb839aa9c041ec5a64f3ddb75885d5e26 /youtube_dl
parentd9ab5262b137962995af1b444f45f7f32dc33a77 (diff)
Use native HLS implementation by default.
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/rtvnh.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/youtube_dl/extractor/rtvnh.py b/youtube_dl/extractor/rtvnh.py
index f5c0b94a8..2799f01a6 100644
--- 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 = {
- 'params': {
- 'hls_prefer_native': True
- },
-
'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':
- 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']})