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


作者:vpoet
mail:vpoet_sir@163.com

注:随意copy 不用告诉我

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

运行结果:
python爬爬爬之单网页html页面爬取

再看看百度的源码:
python爬爬爬之单网页html页面爬取

是一样,没骗你吧

 

相关文章:

  • 2021-10-13
  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2021-06-04
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2021-12-10
  • 2021-04-02
  • 2021-07-12
相关资源
相似解决方案