diff options
author | Sergey M․ <dstftw@gmail.com> | 2021-01-10 06:23:08 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2021-01-10 06:23:08 +0700 |
commit | c2d06aef600b2af557d367b9846d79720a3d6725 (patch) | |
tree | 04f874f82648063fa65bc566a8b81b189f853e2f | |
parent | ff1e76540075d41899b18bde792aef4f8ba19ffa (diff) |
[twitch] Fix authentication (refs #27743)
-rw-r--r-- | youtube_dl/extractor/twitch.py | 2 |
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', } |