Fix hanging comment code

This commit is contained in:
bobbysteel 2018-05-21 17:28:51 +01:00 committed by GitHub
parent 766a7faeb6
commit 855b9f1045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()}),