From e8ec6c7b86d125c99b2a8a32f74fcaa00ea86d63 Mon Sep 17 00:00:00 2001 From: bobbysteel Date: Mon, 21 May 2018 17:29:28 +0100 Subject: [PATCH] fix hanging comment code --- recipes/nytimes.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index a6b38d082e..c14892842b 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -79,6 +79,7 @@ class NewYorkTimes(BasicNewsRecipe): no_stylesheets = True compress_news_images = True compress_news_images_auto_size = 5 + preprocess_regexps = [(re.compile(r'(?s)'), lambda m: '')] remove_tags = [ dict(attrs={'aria-label':'tools'.split()}),