diff --git a/src/calibre/manual/news_recipe.rst b/src/calibre/manual/news_recipe.rst index d486b7570b..6872d8e532 100644 --- a/src/calibre/manual/news_recipe.rst +++ b/src/calibre/manual/news_recipe.rst @@ -59,7 +59,7 @@ Customizing e-book download .. automember:: BasicNewsRecipe.no_stylesheets .. automember:: BasicNewsRecipe.encoding - + .. automethod:: BasicNewsRecipe.get_browser .. automethod:: BasicNewsRecipe.get_cover_url @@ -103,11 +103,14 @@ Pre/post processing of downloaded HTML .. automember:: BasicNewsRecipe.preprocess_regexps +.. automember:: BasicNewsRecipe.template_css + .. automethod:: BasicNewsRecipe.preprocess_html .. automethod:: BasicNewsRecipe.postprocess_html + Convenience methods ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index c7fb812508..3c5be7c7e6 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -206,6 +206,32 @@ class BasicNewsRecipe(object, LoggingInterface): #: will remove everythong from `` to `
-