#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' import re from calibre.web.feeds.news import BasicNewsRecipe class UnitedPressInternational(BasicNewsRecipe): title = 'United Press International' max_articles_per_feed = 15 html2lrf_options = [ '--override-css= "H1 {font-family: Arial; font-weight: bold; color: #000000; size: 10pt;}"'] language = 'en' preprocess_regexps = [(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in [ (r'.*?', lambda match: ''), (r'
.*?', lambda match: ''), (r'.*?', lambda match: ''), (r'.*?', lambda match: ''), (r'.*?', lambda match: ''), (r'