From 72b7c3ed2d287ce66435b581abede71791a6b0c4 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Thu, 6 Sep 2012 14:11:49 +1200 Subject: [PATCH] BeautifulSoup unescapes HTML for you --- plugins/fmylife.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/fmylife.py b/plugins/fmylife.py index 85fb534..5a15e8d 100755 --- a/plugins/fmylife.py +++ b/plugins/fmylife.py @@ -10,7 +10,6 @@ def refresh_cache(): for e in soup.find_all('div', {'class': 'post article'}): id = int(e['id']) text = ''.join(e.find('p').find_all(text=True)) - text = http.unescape(text) fml_cache.append((id, text)) # do an initial refresh of the cache