projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube:playlist] Pass disable_polymer in query (closes #11193, closes #11270)
[youtube-dl]
/
youtube_dl
/
extractor
/
onet.py
diff --git
a/youtube_dl/extractor/onet.py
b/youtube_dl/extractor/onet.py
index fc22ad5eb61b616afa4aaf6895302118fa4f2a50..0a501b3e5b9f0c0bd2c6789e4da302b7610ced28 100644
(file)
--- a/
youtube_dl/extractor/onet.py
+++ b/
youtube_dl/extractor/onet.py
@@
-56,8
+56,8
@@
class OnetBaseIE(InfoExtractor):
continue
ext = determine_ext(video_url)
if format_id == 'ism':
continue
ext = determine_ext(video_url)
if format_id == 'ism':
- # TODO: Support Microsoft Smooth Streaming
- continue
+ formats.extend(self._extract_ism_formats(
+ video_url, video_id, 'mss', fatal=False))
elif ext == 'mpd':
formats.extend(self._extract_mpd_formats(
video_url, video_id, mpd_id='dash', fatal=False))
elif ext == 'mpd':
formats.extend(self._extract_mpd_formats(
video_url, video_id, mpd_id='dash', fatal=False))
@@
-90,7
+90,7
@@
class OnetBaseIE(InfoExtractor):
class OnetIE(OnetBaseIE):
class OnetIE(OnetBaseIE):
- _VALID_URL = 'https?://(?:www\.)?onet\.tv/[a-z]/[a-z]+/(?P<display_id>[0-9a-z-]+)/(?P<id>[0-9a-z]+)'
+ _VALID_URL =
r
'https?://(?:www\.)?onet\.tv/[a-z]/[a-z]+/(?P<display_id>[0-9a-z-]+)/(?P<id>[0-9a-z]+)'
IE_NAME = 'onet.tv'
_TEST = {
IE_NAME = 'onet.tv'
_TEST = {