摘要:
#coding=utf8 import bs4 import re from bs4 import BeautifulSoup html_doc = """ The Dormouse's story The Dormouse's story Once upon a time there were three little sisters; and their names were Els... 阅读全文
摘要:
#coding:utf8 __author__ = 'wang' import urllib2 import cookielib url = "http://www.baidu.com"; response = urllib2.urlopen(url) print(len(response.read())); request = urllib2.Request(url) request.... 阅读全文