📅  最后修改于: 2022-03-11 14:45:12.238000             🧑  作者: Mango
import urllib.request
import time
def result_from_site(url_of_site):
weburl = urllib.request.urlopen(url_of_site)
return str(weburl.getcode())
print(result_from_site("https://www.linkedin.com/learning/learning-python/fetching-internet-data"))