爬虫"/>
手刃一个小爬虫
from urllib.request import urlopenurl="/"
resp=urlopen(url)with open("mybaidu.html",mode="w") as f:f.write(resp.read().decode("utf-8"))
print("over")
更多推荐
手刃一个小爬虫
爬虫"/>
from urllib.request import urlopenurl="/"
resp=urlopen(url)with open("mybaidu.html",mode="w") as f:f.write(resp.read().decode("utf-8"))
print("over")
更多推荐
手刃一个小爬虫
发布评论