Récupérer une tuile Openstreetmap #
import requests
headers = {"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0"}
url = "https://tile.openstreetmap.org/5/10/19.png"
r = requests.get(url, headers=headers)
import requests
headers = {"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0"}
url = "https://tile.openstreetmap.org/5/10/19.png"
r = requests.get(url, headers=headers)