http://d.hatena.ne.jp/furyu-tei/20090324/BSXPath
# cp BSXPath.py /usr/local/lib/python2.6/dist-packages/
/usr/lib/python2.6/site.py:
For Debian and derivatives, this sys.path is augmented with directories
for packages distributed within the distribution. Local addons go
into /usr/local/lib/python/dist-packages, Debian addons
install into /usr/{lib,share}/python/dist-packages.
/usr/lib/python/site-packages is not used.
__init__ C:\Python26\lib\site-packages\BSXPath.py 2471 __init__ C:\Python26\lib\site-packages\BeautifulSoup.py 1493 __init__ C:\Python26\lib\site-packages\BeautifulSoup.py 1224 _feed C:\Python26\lib\site-packages\BeautifulSoup.py 1257 feed C:\Python26\lib\HTMLParser.py 108 goahead C:\Python26\lib\HTMLParser.py 148 parse_starttag C:\Python26\lib\HTMLParser.py 271 handle_starttag C:\Python26\lib\site-packages\BeautifulSoup.py 1011 unknown_starttag C:\Python26\lib\site-packages\BeautifulSoup.py 1408 __init__ C:\Python26\lib\site-packages\BeautifulSoup.py 525 <lambda> C:\Python26\lib\site-packages\BeautifulSoup.py 524 sub C:\Python26\lib\re.py 151 TypeError: expected string or buffer
BeautifulSoupを3.1.0から3.1.0.1へ
File "C:\Python26\lib\HTMLParser.py", line 115, in error raise HTMLParseError(message, self.getpos()) HTMLParseError: malformed start tag, at line 549, column 165
めも
参考
http://d.hatena.ne.jp/yosshi71jp/20090831/1251704237
http://taichino.com/programming/1040