mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
fix(tiktok): use Referer
header in requests
Signed-off-by: Aakash Gajjar <skyqutip@gmail.com>
This commit is contained in:
parent
19a107f21c
commit
19ee7e1543
@ -37,7 +37,10 @@ class TikTokBaseIE(InfoExtractor):
|
||||
'url': try_get(video_info, lambda x: x['video']['urls'][0]),
|
||||
'ext': 'mp4',
|
||||
'height': height,
|
||||
'width': width
|
||||
'width': width,
|
||||
'http_headers': {
|
||||
'Referer': self._og_search_url(webpage),
|
||||
},
|
||||
})
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user