__license__ = 'GPL v3' __copyright__ = '2011, Pat Stapleton ' ''' abc.net.au/news ''' import re from calibre.web.feeds.recipes import BasicNewsRecipe class ABCNews(BasicNewsRecipe): title = 'ABC News' __author__ = 'Pat Stapleton, Dean Cording, James Cridland' description = 'From the Australian Broadcasting Corporation. The ABC is owned and funded by the Australian Government, but is editorially independent.' masthead_url = 'https://www.abc.net.au/cm/lb/8212706/data/news-logo-2017---desktop-print-data.png' cover_url = 'https://www.abc.net.au/news/linkableblob/8413676/data/abc-news-og-data.jpg' cover_margins = (0,20,'#000000') oldest_article = 2 handle_gzip = True no_stylesheets = True use_embedded_content = False scale_news_images_to_device = True encoding = 'utf8' publisher = 'ABC News' category = 'Australia,News' language = 'en_AU' publication_type = 'newspaper' extra_css = '.byline{font-size:smaller;margin-bottom:10px;}.inline-caption{display:block;font-size:smaller;text-decoration: none;}' preprocess_regexps = [(re.compile( r'