Spaces:
Build error
Build error
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()) |