Python Web Scraper

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