mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-23 02:26:37 -05:00
[instagram] Add referrer to prevent throttling (#676)
Code from: https://github.com/ytdl-org/youtube-dl/pull/29751 Fixes: https://github.com/ytdl-org/youtube-dl/issues/29736 Authored by: u-spec-png, kikuyan
This commit is contained in:
parent
be44eefd5e
commit
3dd39c5f9a
@ -277,6 +277,9 @@ class InstagramIE(InfoExtractor):
|
||||
'like_count': like_count,
|
||||
'comment_count': comment_count,
|
||||
'comments': comments,
|
||||
'http_headers': {
|
||||
'Referer': 'https://www.instagram.com/',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user