This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding=utf-8 | |
| from BeautifulSoup import * | |
| import sys, httplib | |
| import re | |
| import os | |
| import urllib,urllib2 | |
| def getMVName(url): | |
| c=urllib2.urlopen(url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/python | |
| # -*- coding: utf-8 -*- | |
| from BeautifulSoup import * | |
| import urllib2 | |
| import codecs | |
| def urlToTxt(url): | |
| bookUrl = url | |
| suffix = "html" |