Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. import requests
  2.  
  3. headers = {
  4. 'authority': 'collector-pxur63h57z.perimeterx.net',
  5. 'origin': 'https://www.solebox.com',
  6. 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36',
  7. 'dnt': '1',
  8. 'content-type': 'application/x-www-form-urlencoded',
  9. 'accept': '*/*',
  10. 'sec-fetch-site': 'cross-site',
  11. 'sec-fetch-mode': 'cors',
  12. 'referer': 'https://www.solebox.com/en/Footwear/',
  13. 'accept-encoding': 'gzip, deflate, br',
  14. 'accept-language': 'en,en-US;q=0.9',
  15. 'cookie': 'pxvid=7793a105-fce1-11e9-aac7-0242ac120006; pxvid=7793a105-fce1-11e9-aac7-0242ac120006',
  16. }
  17.  
  18. data = {
  19. 'payload': 'W3sidCI6IlBYMiIsImQiOnsiUFg5NiI6Imh0dHBzOi8vd3d3LnNvbGVib3guY29tL2VuL0Zvb3R3ZWFyLyIsIlBYNjMiOiJXaW4zMiIsIlBYODUwIjowLCJQWDg1MSI6ODUwLCJQWDM3MSI6dHJ1ZX19XQ==',
  20. 'appId': 'PXuR63h57Z',
  21. 'tag': 'v5.0.1',
  22. 'uuid': '5da8ef30-1e2f-11ea-8473-7f8907a4d287',
  23. 'ft': '109',
  24. 'seq': '0',
  25. 'pc': '2765094171989911',
  26. 'sid': 'b395e180-1e2c-11ea-8100-e9b2c804a87d',
  27. 'vid': '7793a105-fce1-11e9-aac7-0242ac120006'
  28. }
  29.  
  30. response = requests.post('https://collector-pxur63h57z.perimeterx.net/api/v2/collector', headers=headers, data=data)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement