[twitch] Fix authentication (refs #27743)

This commit is contained in:
Sergey M․ 2021-01-10 06:23:08 +07:00
parent ff1e765400
commit c2d06aef60
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -76,7 +76,7 @@ class TwitchBaseIE(InfoExtractor):
headers = { headers = {
'Referer': page_url, 'Referer': page_url,
'Origin': page_url, 'Origin': 'https://www.twitch.tv',
'Content-Type': 'text/plain;charset=UTF-8', 'Content-Type': 'text/plain;charset=UTF-8',
} }