From: Sergey M․ Date: Sat, 9 Jan 2021 23:23:08 +0000 (+0700) Subject: [twitch] Fix authentication (refs #27743) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c2d06aef600b2af557d367b9846d79720a3d6725;p=youtube-dl [twitch] Fix authentication (refs #27743) --- diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index db264e8a1..fa19e9a7a 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_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', }