[mgtv] Extract format_note (#21881)
authorSen Jiang <JayXon@Gmail.com>
Wed, 31 Jul 2019 20:45:02 +0000 (13:45 -0700)
committerSergey 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

index 7ae2e3c3b7f5d6abfd4eef9b1d40625bed1c3d78..71fc3ec56da8684e49474633959ed72b2d3047b2 100644 (file)
@@ -82,6 +82,7 @@ class MGTVIE(InfoExtractor):
                 'http_headers': {
                     'Referer': url,
                 },
+                'format_note': stream.get('name'),
             })
         self._sort_formats(formats)