mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 17:02:30 +00:00
[instagram:user] Remove User-Agent from signature (closes #16119)
This commit is contained in:
parent
92ded33a05
commit
68ddba20ae
@ -11,7 +11,6 @@
|
|||||||
get_element_by_attribute,
|
get_element_by_attribute,
|
||||||
int_or_none,
|
int_or_none,
|
||||||
lowercase_escape,
|
lowercase_escape,
|
||||||
std_headers,
|
|
||||||
try_get,
|
try_get,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -258,7 +257,7 @@ def get_count(suffix):
|
|||||||
'first': 100,
|
'first': 100,
|
||||||
'after': cursor,
|
'after': cursor,
|
||||||
})
|
})
|
||||||
s = '%s:%s:%s:%s' % (rhx_gis, csrf_token, std_headers['User-Agent'], variables)
|
s = '%s:%s:%s' % (rhx_gis, csrf_token, variables)
|
||||||
media = self._download_json(
|
media = self._download_json(
|
||||||
'https://www.instagram.com/graphql/query/', uploader_id,
|
'https://www.instagram.com/graphql/query/', uploader_id,
|
||||||
'Downloading JSON page %d' % page_num, headers={
|
'Downloading JSON page %d' % page_num, headers={
|
||||||
|
Loading…
Reference in New Issue
Block a user