urlopen(req).read()在执行读取时挂断;我正在使用python3
from urllib.request import Request, urlopen
req = Request("https://www.accuweather.com/en/us/los-angeles-ca/90012/weather-forecast/347625", headers={'User-Agent': 'Mozilla/5.0'})
webpage = urlopen(req).read()
print(webpage)
任何指导都会受到赞赏