pyrebot

Better not to ignore the past but learn from it instead. Otherwise, history has a way of repeating itself.

博客园 首页 新随笔 联系 订阅 管理

2014年3月19日 #

摘要: 1 #coding:utf-8 2 import urllib2 3 import os,sys 4 from BeautifulSoup import BeautifulSoup # For processing HTML 5 from bs4 import BeautifulSoup 6 class BookSave(): 7 ''' 8 dir:html文件保存目录 url:index.html目录 static_url:js、css所在目录的上级目录 9 distinguish:用来区分相同tag.name dis_k... 阅读全文
posted @ 2014-03-19 17:56 pyrebot 阅读(485) 评论(0) 推荐(0) 编辑