Sorry, getting the same error...
Code:
'''
Fetch Spiegel Online.
'''
from libprs500.ebooks.lrf.web.profiles import DefaultProfile
import re
class SpiegelOnline(DefaultProfile):
title = 'Spiegel Online'
timefmt = ' [ %Y-%m-%d %a]'
max_recursions = 2
max_articles_per_feed = 40
# html_description = True
# no_stylesheets = True
def get_feeds(self):
return [ ('Spiegel Online', 'http://www.spiegel.de/schlagzeilen/rss/0,5291,,00.xml') ]
def strptime(self, src):
# Some code to convert the string src into a datetime
# This is a dummy implemetation that just returns the current time
return time.time()
def print_version(self,url):
tokens = url.split(',')
tokens[-2:-1] = ['-druck']
return ','.join(tokens)