From d695e5396bbb3c9c33a6dc4d96bbe3d4256dd2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FSergey=3D20M=3DE2=3D80=3DA4=3F=3D?= Date: Fri, 26 Feb 2021 16:11:14 +0100 Subject: [PATCH] [twitch] Fix authentication (refs #27743) --- haruhi_dl/extractor/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haruhi_dl/extractor/twitch.py b/haruhi_dl/extractor/twitch.py index db264e8a1..fa19e9a7a 100644 --- a/haruhi_dl/extractor/twitch.py +++ b/haruhi_dl/extractor/twitch.py @@ -76,7 +76,7 @@ class TwitchBaseIE(InfoExtractor): headers = { 'Referer': page_url, - 'Origin': page_url, + 'Origin': 'https://www.twitch.tv', 'Content-Type': 'text/plain;charset=UTF-8', }