Python新手,有一個簡單的情境問題:BeautifulSoup HTMLParseError
嘗試使用BeautifulSoup來分析一系列頁面。
from bs4 import BeautifulSoup
import urllib.request
BeautifulSoup(urllib.request.urlopen('http://bit.ly/'))
回溯...
html.parser.HTMLParseError: expected name token at '<!=KN\x01...
工作在Windows 7與Python 3.2 64位。
我需要機械化嗎? (這將需要Python 2.X)
:/謝謝你們。我是個白癡。 – Zack 2012-03-23 15:31:56