fixing spiegel.py
This commit is contained in:
parent
025297a231
commit
776dab7f59
1 changed files with 0 additions and 1 deletions
|
@ -33,7 +33,6 @@ class Spiegel:
|
||||||
for item in soup('a', {'href': re.compile('http://service.spiegel.de/digas/servlet/epaper\?Q=SP&JG=')}):
|
for item in soup('a', {'href': re.compile('http://service.spiegel.de/digas/servlet/epaper\?Q=SP&JG=')}):
|
||||||
item = str(item)
|
item = str(item)
|
||||||
title = stripTags(item).strip()
|
title = stripTags(item).strip()
|
||||||
print item, '\n'
|
|
||||||
page = re.compile('&SE=(.*?)"').findall(item)[0]
|
page = re.compile('&SE=(.*?)"').findall(item)[0]
|
||||||
self.contents.append({'title': title, 'page': page})
|
self.contents.append({'title': title, 'page': page})
|
||||||
return self.contents
|
return self.contents
|
||||||
|
|
Loading…
Reference in a new issue