From 6d930986042d5c493d5fa40ed8cf3c670bf8ff7c Mon Sep 17 00:00:00 2001 From: Lam Date: Mon, 20 Apr 2020 20:34:41 +0200 Subject: [PATCH] Revert "[mgtv] Pass Referer HTTP header for format URLs (closes #21726)" This reverts commit 79fc7094d9a98310e375d9c1cddac21bbd2bb5b7. --- youtube_dl/extractor/mgtv.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/youtube_dl/extractor/mgtv.py b/youtube_dl/extractor/mgtv.py index 7ae2e3c3b7f5..84137df50252 100644 --- a/youtube_dl/extractor/mgtv.py +++ b/youtube_dl/extractor/mgtv.py @@ -79,9 +79,6 @@ def _real_extract(self, url): 'ext': 'mp4', 'tbr': tbr, 'protocol': 'm3u8_native', - 'http_headers': { - 'Referer': url, - }, }) self._sort_formats(formats)