projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[keezmovies] Improve and modernize
[youtube-dl]
/
youtube_dl
/
extractor
/
ynet.py
diff --git
a/youtube_dl/extractor/ynet.py
b/youtube_dl/extractor/ynet.py
index 2522551dc061b6652d143f1e4d09ee2428b827dc..0d943c3432a57570afc229ab4efce66b2118f763 100644
(file)
--- a/
youtube_dl/extractor/ynet.py
+++ b/
youtube_dl/extractor/ynet.py
@@
-41,10
+41,12
@@
class YnetIE(InfoExtractor):
m = re.search(r'ynet - HOT -- (["\']+)(?P<title>.+?)\1', title)
if m:
title = m.group('title')
m = re.search(r'ynet - HOT -- (["\']+)(?P<title>.+?)\1', title)
if m:
title = m.group('title')
+ formats = self._extract_f4m_formats(f4m_url, video_id)
+ self._sort_formats(formats)
return {
'id': video_id,
'title': title,
return {
'id': video_id,
'title': title,
- 'formats':
self._extract_f4m_formats(f4m_url, video_id)
,
+ 'formats':
formats
,
'thumbnail': self._og_search_thumbnail(webpage),
}
'thumbnail': self._og_search_thumbnail(webpage),
}