File size: 788 Bytes
9f36753
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import requests

url = "https://d3e6htiiul5ek9.cloudfront.net/prod/sucursales"
params = {
    "lat": -34.610089,
    "lng": -58.451423,
    "limit": 30
}
headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
    "Accept": "application/json, text/plain, */*",
    "Accept-Language": "en-US,en;q=0.5",
    "Accept-Encoding": "gzip, deflate, br, zstd",
    "Origin": "https://www.preciosclaros.gob.ar",
    "Connection": "keep-alive",
    "Referer": "https://www.preciosclaros.gob.ar/",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "cross-site",
    "TE": "trailers"
}

response = requests.get(url, params=params, headers=headers)
print(response)
print(response.json())