用python實現爬取百度貼吧的小項目

這個項目中用到了類--classhtml #coding=utf-8 ''' nba.txt ''' import urllib2 import urllib import re from bs4 import BeautifulSoup class Tool: removeImg = re.compile(r'<img .*?>') removeAddr = re.compile
相關文章
相關標籤/搜索