10 lines
287 B
Python
Executable File
10 lines
287 B
Python
Executable File
#!/usr/bin/python3
|
|
|
|
import cloudscraper
|
|
|
|
url = "https://transiscope.org/carte-des-alternatives/#/carte/@46.33,-1.34,6z?cat=all"
|
|
|
|
scraper = cloudscraper.create_scraper()
|
|
#scraper = cloudscraper.CloudScraper() # CloudScraper inherits from requests.Session
|
|
print(scraper.get(url).content)
|