Compress news images when downloading from chicago tribune

This commit is contained in:
Kovid Goyal 2019-01-17 11:39:01 +05:30
parent 32e5760eea
commit 51e6cf8ac4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -21,6 +21,8 @@ class ChicagoTribune(BasicNewsRecipe):
use_embedded_content = False use_embedded_content = False
no_stylesheets = True no_stylesheets = True
remove_javascript = True remove_javascript = True
compress_news_images = True
compress_news_images_auto_size = 5
keep_only_tags = [ keep_only_tags = [
dict(name='h1'), dict(name='h1'),