]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/mgtv.py
debian/copyright: use spaces rather than tabs to start continuation lines.
[youtubedl] / youtube_dl / extractor / mgtv.py
index 84137df502522a77561fb8d86ebfb8d7febb2b95..71fc3ec56da8684e49474633959ed72b2d3047b2 100644 (file)
@@ -79,6 +79,10 @@ class MGTVIE(InfoExtractor):
                 'ext': 'mp4',
                 'tbr': tbr,
                 'protocol': 'm3u8_native',
                 'ext': 'mp4',
                 'tbr': tbr,
                 'protocol': 'm3u8_native',
+                'http_headers': {
+                    'Referer': url,
+                },
+                'format_note': stream.get('name'),
             })
         self._sort_formats(formats)
 
             })
         self._sort_formats(formats)