aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2021-01-10 06:23:08 +0700
committerSergey M․ <dstftw@gmail.com>2021-01-10 06:23:08 +0700
commitc2d06aef600b2af557d367b9846d79720a3d6725 (patch)
tree04f874f82648063fa65bc566a8b81b189f853e2f
parentff1e76540075d41899b18bde792aef4f8ba19ffa (diff)
[twitch] Fix authentication (refs #27743)
-rw-r--r--youtube_dl/extractor/twitch.py2
1 files changed, 1 insertions, 1 deletions
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',
}