Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import json
- search = {
- "exchange":
- {
- "status":
- {
- "option":
- "online"},
- "have":
- ["fusing"],
- "want":
- ["chaos"]
- }
- }
- url = 'http://www.pathofexile.com/trade/exchange/Abyss'
- headers = {'content-type': 'application/json',
- 'X-Requested-With' : 'XMLHttpRequest'}
- response = requests.get(url, data=json.dumps(search), headers=headers)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement