zl程序教程

您现在的位置是:首页 >  后端

当前栏目

Python Web Scraper - Simple Url Request

PythonWeb url request Simple
2023-09-11 14:16:56 时间
from urllib.request import urlopen
html = urlopen("http://www.baidu.com")
print(html.read())


注意: 以上代码基于Python 3.x