[instagram] update query hashes
This commit is contained in:
@@ -414,7 +414,7 @@ class InstagramPostsExtractor(InstagramExtractor):
|
||||
url = "{}/{}/".format(self.root, self.item)
|
||||
user = self._extract_profile_page(url)
|
||||
|
||||
query_hash = "32b14723a678bd4628d70c1f877b94c9"
|
||||
query_hash = "7ea6ae3cf6fb05e73fcbe1732b1d2a42"
|
||||
variables = {"id": user["id"], "first": 50}
|
||||
edge = self._get_edge_data(user, "edge_owner_to_timeline_media")
|
||||
return self._pagination_graphql(query_hash, variables, edge)
|
||||
@@ -433,7 +433,7 @@ class InstagramTaggedExtractor(InstagramExtractor):
|
||||
url = "{}/{}/".format(self.root, self.item)
|
||||
user = self._extract_profile_page(url)
|
||||
|
||||
query_hash = "31fe64d9463cbbe58319dced405c6206"
|
||||
query_hash = "be13233562af2d229b008d2976b998b5"
|
||||
variables = {"id": user["id"], "first": 50}
|
||||
edge = self._get_edge_data(user, None)
|
||||
return self._pagination_graphql(query_hash, variables, edge)
|
||||
@@ -619,13 +619,13 @@ class InstagramPostExtractor(InstagramExtractor):
|
||||
)
|
||||
|
||||
def posts(self):
|
||||
query_hash = "d4e8ae69cb68f66329dcebe82fb69f6d"
|
||||
query_hash = "971f52b26328008c768b7d8e4ac9ce3c"
|
||||
variables = {
|
||||
"shortcode" : self.item,
|
||||
"child_comment_count" : 3,
|
||||
"fetch_comment_count" : 40,
|
||||
"parent_comment_count" : 24,
|
||||
"has_threaded_comments": True
|
||||
"has_threaded_comments": True,
|
||||
}
|
||||
data = self._request_graphql(query_hash, variables)
|
||||
media = data.get("shortcode_media")
|
||||
|
||||
Reference in New Issue
Block a user