__license__ = 'GPL v3' __copyright__ = '2011, Pat Stapleton ' ''' abc.net.au/news ''' import re from calibre.web.feeds.recipes import BasicNewsRecipe class TheDailyNewsEG(BasicNewsRecipe): title = u'The Daily News Egypt' __author__ = 'Omm Mishmishah' description = 'News from Egypt' masthead_url = 'http://www.thedailynewsegypt.com/images/DailyNews-03_05.gif' cover_url = 'http://www.thedailynewsegypt.com/images/DailyNews-03_05.gif' auto_cleanup = True oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = False use_embedded_content = False encoding = 'utf8' publisher = 'The Daily News Egypt' category = 'News, Egypt, World' language = 'en_EG' publication_type = 'newsportal' # preprocess_regexps = [(re.compile(r'', re.DOTALL), lambda m: '')] # Remove annoying map links (inline-caption class is also used for some # image captions! hence regex to match maps.google) preprocess_regexps = [(re.compile( r'