mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[twitch] Fix authentication (refs #27743)
This commit is contained in:
parent
ff1e765400
commit
c2d06aef60
|
@ -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',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue