use storage to store dlfp messages state

This commit is contained in:
Romain Bignon 2010-04-08 22:34:57 +02:00
commit 6e3e93e08b
4 changed files with 25 additions and 18 deletions

View file

@ -79,6 +79,7 @@ class Article(object):
for a in div.find('h1').getiterator('a'):
if a.text: self.title += a.text
if a.tail: self.title += a.tail
self.title = self.title.strip()
subdivs = div.findall('a')
if len(subdivs) > 1:
date_s = unicode(subdivs[1].text)