开始学习爬虫,抓下网页源代码
import urllib.request
response=urllib.request.urlopen("http://www.fishc.com")
html=response.read()
html=html.decode('utf-8')
print(html)
转载于:https://www.cnblogs.com/imzscilovecode/p/8535397.html
开始学习爬虫,抓下网页源代码
import urllib.request
response=urllib.request.urlopen("http://www.fishc.com")
html=response.read()
html=html.decode('utf-8')
print(html)
转载于:https://www.cnblogs.com/imzscilovecode/p/8535397.html