diff --git a/plugins/fmylife.py b/plugins/fmylife.py index fbe5e3c..68d1d89 100755 --- a/plugins/fmylife.py +++ b/plugins/fmylife.py @@ -18,7 +18,7 @@ def refresh_cache(): for e in soup.findAll('div', {'class': 'post article'}): id = int(e['id']) - text = e.find('p', text=True) + text = ''.join(e.find('p').findAll(text=True)) fml_cache[id] = text # do an initial refresh of the cache