fixing spiegel.py

This commit is contained in:
Rolux 2008-04-30 14:26:19 +02:00
parent 025297a231
commit 776dab7f59

View file

@ -33,7 +33,6 @@ class Spiegel:
for item in soup('a', {'href': re.compile('http://service.spiegel.de/digas/servlet/epaper\?Q=SP&JG=')}):
item = str(item)
title = stripTags(item).strip()
print item, '\n'
page = re.compile('&SE=(.*?)"').findall(item)[0]
self.contents.append({'title': title, 'page': page})
return self.contents