Python Web Scraper - Simple Url Request

from urllib.request import urlopen
html = urlopen("http://www.baidu.com")
print(html.read())


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

转载于:https://www.cnblogs.com/davidgu/p/4736055.html

猜你喜欢

转载自blog.csdn.net/weixin_33874713/article/details/93802992