摘要: 1 # -*- coding: utf-8 -*- 2 import string 3 import urllib2 4 import re 5 from BeautifulSoup import BeautifulSoup 6 7 class Baidu_Spider: 8 def __init__(self,url): 9 self.myUrl=url;10 11 # 初始化加载页面并将其转码储存 12 def baidu_tieba(self,page):13 self.myUrl=self.... 阅读全文
posted @ 2013-12-26 16:23 liutoutou 阅读(137) 评论(0) 推荐(0) 编辑