projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[polskieradio:category] Improve extraction
[youtube-dl]
/
youtube_dl
/
extractor
/
snotr.py
diff --git
a/youtube_dl/extractor/snotr.py
b/youtube_dl/extractor/snotr.py
index 3bb78cb84898acf4fddccd556d252a25a8559832..4819fe5b4b6322cc02e9e1fdd4c128cbe28e55b0 100644
(file)
--- 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)
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,\.]+)',
view_count = str_to_int(self._html_search_regex(
r'<p[^>]*>\s*<strong[^>]*>Views:</strong>\s*<span[^>]*>([\d,\.]+)',