commit: c2d06aef600b2af557d367b9846d79720a3d6725
parent ff1e76540075d41899b18bde792aef4f8ba19ffa
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 10 Jan 2021 06:23:08 +0700
[twitch] Fix authentication (refs #27743)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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',
}