code-dumps/py/url-check-requests.py
2023-03-29 13:59:25 +08:00

8 lines
111 B
Python
Executable File

#!/usr/bin/python3
import requests
url = "https://stats.oecd.org/"
resp = requests.get(url)
print(resp.text)