fix?
This commit is contained in:
parent
ea8fbee4c1
commit
1686c120f8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue