mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 19:51:34 +01:00
[instagram] restore GraphQL API functionality (#5920)
by reducing the number of requested posts from 50 to 24 https://github.com/mikf/gallery-dl/issues/5920#issuecomment-2269712540
This commit is contained in:
parent
21734ab69e
commit
ff4e53adac
@ -936,23 +936,23 @@ class InstagramGraphqlAPI():
|
||||
|
||||
def tags_media(self, tag):
|
||||
query_hash = "9b498c08113f1e09617a1703c22b2f32"
|
||||
variables = {"tag_name": text.unescape(tag), "first": 50}
|
||||
variables = {"tag_name": text.unescape(tag), "first": 24}
|
||||
return self._pagination(query_hash, variables,
|
||||
"hashtag", "edge_hashtag_to_media")
|
||||
|
||||
def user_clips(self, user_id):
|
||||
query_hash = "bc78b344a68ed16dd5d7f264681c4c76"
|
||||
variables = {"id": user_id, "first": 50}
|
||||
variables = {"id": user_id, "first": 24}
|
||||
return self._pagination(query_hash, variables)
|
||||
|
||||
def user_feed(self, user_id):
|
||||
query_hash = "69cba40317214236af40e7efa697781d"
|
||||
variables = {"id": user_id, "first": 50}
|
||||
variables = {"id": user_id, "first": 24}
|
||||
return self._pagination(query_hash, variables)
|
||||
|
||||
def user_tagged(self, user_id):
|
||||
query_hash = "be13233562af2d229b008d2976b998b5"
|
||||
variables = {"id": user_id, "first": 50}
|
||||
variables = {"id": user_id, "first": 24}
|
||||
return self._pagination(query_hash, variables)
|
||||
|
||||
def _call(self, query_hash, variables):
|
||||
|
Loading…
x
Reference in New Issue
Block a user