Hi, all,
This piece of code used to work well. i guess the error occurs after
some upgrade.
>>> import urllib
>>> from BeautifulSoup import BeautifulSoup
>>> url = 'http://www.google.com'
>>> port = urllib.urlopen(url).read()
>>> soup = BeautifulSoup()
>>> soup.feed(port)
Traceback (most recent c
"Serge Orlov" <[EMAIL PROTECTED]> writes:
[...]
> Upgrading python-beautifulsoup is a good idea, since there were two bug
> fix releases after 3.0.1
I just downloaded latest version 3.0.3 from its homepage, seems it still
has the same problem.
--
William
PL/I -- "the fatal disease" -- belongs
Ben Finney <[EMAIL PROTECTED]> writes:
> William Xu <[EMAIL PROTECTED]> writes:
>
>> >>> import urllib
>> >>> from BeautifulSoup import BeautifulSoup
>> >>> url = 'http://www.google.com'
>> >>> port = urllib.