This commit is contained in:
TheTechRobo 2022-04-04 17:17:48 -04:00
parent ea8fbee4c1
commit 1686c120f8
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ for x in range(0, 1000):
for y in range(0, 1000):
data = {"operationName":"pixelHistory","variables":{"input":{"actionName":"r/replace:get_tile_history","PixelMessageData":{"coordinate":{"x":x,"y":y},"colorIndex":0,"canvasIndex":3}}},"query":"mutation pixelHistory($input: ActInput!) {\n act(input: $input) {\n data {\n ... on BasicMessage {\n id\n data {\n ... on GetTileHistoryResponseMessageData {\n lastModifiedTimestamp\n userInfo {\n userID\n username\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n"}
ep = "https://gql-realtime-2.reddit.com/query"
head = {"Authorization": f"Bearer {tok}"}
head = {"Authorization": f"Bearer {tok}", "Origin": "https://hot-potato.reddit.com"}
a = requests.post(ep, json=data, headers=head)
while a.status_code != 200:
print(a.text)