about summary refs log tree commit diff
path: root/youtube_dl/extractor/snotr.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-08-22 02:18:46 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-08-22 02:26:07 +0800
commitad120ae1c57fe3ff0c7f5559d280cb8230a2b38c (patch)
tree32f7f7cf02a4527c54756d937ceda99ade3d9038 /youtube_dl/extractor/snotr.py
parentd0fa172e5fc1d676834252dcd395ec495b20b0bc (diff)
downloadyoutube-dl-ad120ae1c57fe3ff0c7f5559d280cb8230a2b38c.tar.gz
youtube-dl-ad120ae1c57fe3ff0c7f5559d280cb8230a2b38c.tar.xz
youtube-dl-ad120ae1c57fe3ff0c7f5559d280cb8230a2b38c.zip
[extractor/common] Change the default m3u8 protocol in HTML5
Helper functions should have consistent default values
Diffstat (limited to 'youtube_dl/extractor/snotr.py')
-rw-r--r--youtube_dl/extractor/snotr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/snotr.py b/youtube_dl/extractor/snotr.py
index 3bb78cb84..4819fe5b4 100644
--- a/youtube_dl/extractor/snotr.py
+++ b/youtube_dl/extractor/snotr.py
@@ -46,7 +46,8 @@ class SnotrIE(InfoExtractor):
         title = self._og_search_title(webpage)
 
         description = self._og_search_description(webpage)
-        info_dict = self._parse_html5_media_entries(url, webpage, video_id)[0]
+        info_dict = self._parse_html5_media_entries(
+            url, webpage, video_id, m3u8_entry_protocol='m3u8_native')[0]
 
         view_count = str_to_int(self._html_search_regex(
             r'<p[^>]*>\s*<strong[^>]*>Views:</strong>\s*<span[^>]*>([\d,\.]+)',