From: Sen Jiang Date: Wed, 31 Jul 2019 20:45:02 +0000 (-0700) Subject: [mgtv] Extract format_note (#21881) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9a37ff82f17383336251afcd80821620dd86ee95;p=youtube-dl [mgtv] Extract format_note (#21881) format_note should now show 标清, 高清, 超清, 蓝光, etc. --- 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)