From 6334cc850c40e7a01b49573609ac3d02739b44d1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 17 Aug 2008 09:55:25 -0700 Subject: [PATCH] Add recipes for The Irish Times and The International Herald Tribune --- src/calibre/web/feeds/news.py | 32 ++++++++++-- src/calibre/web/feeds/recipes/__init__.py | 2 +- src/calibre/web/feeds/recipes/iht.py | 51 ++++++++++++++++++++ src/calibre/web/feeds/recipes/irish_times.py | 36 ++++++++++++++ 4 files changed, 115 insertions(+), 6 deletions(-) create mode 100644 src/calibre/web/feeds/recipes/iht.py create mode 100644 src/calibre/web/feeds/recipes/irish_times.py diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index dabdd3547d..530f15b9ab 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -98,6 +98,10 @@ class BasicNewsRecipe(object, LoggingInterface): #: embedded content. use_embedded_content = None + #: Set to True and implement :method:`get_obfuscated_article` to handle + #: websites that try to make it difficult to scrape content. + articles_are_obfuscated = False + #: Specify any extra :term:`CSS` that should be addded to downloaded :term:`HTML` files #: It will be inserted into `