aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSen Jiang <JayXon@Gmail.com>2019-07-31 13:45:02 -0700
committerSergey M <dstftw@gmail.com>2019-08-01 03:45:02 +0700
commit9a37ff82f17383336251afcd80821620dd86ee95 (patch)
treeb0d7ee8f6369939877f26f21144ac9b4778ef4f7 /youtube_dl
parent766c4f6090fdea635f50597a3c5d60643e3a2913 (diff)
[mgtv] Extract format_note (#21881)
format_note should now show 标清, 高清, 超清, 蓝光, etc.
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/mgtv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/mgtv.py b/youtube_dl/extractor/mgtv.py
index 7ae2e3c3b..71fc3ec56 100644
--- 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)