projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
766c4f6
)
[mgtv] Extract format_note (#21881)
author
Sen Jiang
<JayXon@Gmail.com>
Wed, 31 Jul 2019 20:45:02 +0000
(13:45 -0700)
committer
Sergey M
<dstftw@gmail.com>
Wed, 31 Jul 2019 20:45:02 +0000
(
03:45
+0700)
format_note should now show 标清, 高清, 超清, 蓝光, etc.
youtube_dl/extractor/mgtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mgtv.py
b/youtube_dl/extractor/mgtv.py
index 7ae2e3c3b7f5d6abfd4eef9b1d40625bed1c3d78..71fc3ec56da8684e49474633959ed72b2d3047b2 100644
(file)
--- a/
youtube_dl/extractor/mgtv.py
+++ b/
youtube_dl/extractor/mgtv.py
@@
-82,6
+82,7
@@
class MGTVIE(InfoExtractor):
'http_headers': {
'Referer': url,
},
+ 'format_note': stream.get('name'),
})
self._sort_formats(formats)