python爬爬爬之单网页html页面爬取

来源:互联网 发布:如何绕过网络行为控制 编辑:程序博客网 时间:2024/06/06 11:37
python爬爬爬之单网页html页面爬取


作者:vpoet
日期:大约在夏季

注:随意copy 不用告诉我

#coding:utf-8 import urllib2 Response=urllib2.urlopen("http://www.baidu.com");Html=Response.read();print Html;

运行结果:


再看看百度的源码:


是一样,没骗你吧
1 1