From MAILER-DAEMON Sun Oct 09 04:32:04 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RConk-0007hG-NU
	for mharc-librefm-bugs@gnu.org; Sun, 09 Oct 2011 04:32:04 -0400
Received: from eggs.gnu.org ([140.186.70.92]:41553)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1RConi-0007gX-2G
	for librefm-bugs@nongnu.org; Sun, 09 Oct 2011 04:32:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1RCong-0006WN-Qj
	for librefm-bugs@nongnu.org; Sun, 09 Oct 2011 04:32:02 -0400
Received: from savannah.gnu.org ([140.186.70.70]:59087
	helo=frontend.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <www-data@savannah.gnu.org>) id 1RCong-0006WH-LL
	for librefm-bugs@nongnu.org; Sun, 09 Oct 2011 04:32:00 -0400
Received: from www-data by frontend.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <www-data@savannah.gnu.org>)
	id 1RCouZ-0003Mn-Br; Sun, 09 Oct 2011 08:39:07 +0000
Date: Sun, 09 Oct 2011 08:39:07 +0000
To: Petr Viktorin <encukou@gmail.com>,
	Stephen Niedzielski <stephen@niedzielski.com>, librefm-bugs@nongnu.org
X-PHP-Originating-Script: 0:sendmail.php
From: Stephen Niedzielski <INVALID.NOREPLY@gnu.org>
X-Savane-Server: savannah.gnu.org:443 [140.186.70.70]
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
X-Savane-Project: librefm
X-Savane-Tracker: bugs
X-Savane-Item-ID: 32936
User-Agent: Mozilla/5.0 (X11;
	Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko)
	Chrome/14.0.835.202 Safari/535.1
X-Apparently-From: 24.16.155.6 (Savane authenticated user niedzielski)
Message-Id: <20111009-083907.sv85624.4930@savannah.gnu.org>
References: <20110328-131645.sv73374.41899@savannah.gnu.org>
	<20110328-135726.sv73374.93907@savannah.gnu.org>
In-Reply-To: <20110328-135726.sv73374.93907@savannah.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.70
Subject: [Librefm-bugs] [bug #32936] lastscrape: BeautifulSoup fails to
	parse last.fm pages
X-BeenThere: librefm-bugs@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <librefm-bugs.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/librefm-bugs>,
	<mailto:librefm-bugs-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/librefm-bugs>
List-Post: <mailto:librefm-bugs@nongnu.org>
List-Help: <mailto:librefm-bugs-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/librefm-bugs>,
	<mailto:librefm-bugs-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Oct 2011 08:32:03 -0000

Follow-up Comment #2, bug #32936 (project librefm):

  I was getting the following error using the patch:
"UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 238:
ordinal not in range(128)"
  So I replaced the following line:
    contents = contents.replace(u'<!–[if IE]><![endif]–>', '')
With:
    contents = contents.replace('<!–[if IE]><![endif]–>', '')


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32936>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



