[extractor/common] Change the default m3u8 protocol in HTML5

Helper functions should have consistent default values
This commit is contained in:
Yen Chi Hsuan 2016-08-22 02:18:46 +08:00
parent d0fa172e5f
commit ad120ae1c5
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30
4 changed files with 8 additions and 5 deletions

View file

@ -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,\.]+)',