mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Set use_embedded_content
and scale_news_images
This commit is contained in:
parent
8d2a1e2d49
commit
43c9f02849
@ -25,6 +25,10 @@ class Fokus(BasicNewsRecipe):
|
|||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
extra_css = 'img { display: block; width: 75%; height: auto }'
|
extra_css = 'img { display: block; width: 75%; height: auto }'
|
||||||
|
|
||||||
|
use_embedded_content = False
|
||||||
|
scale_news_images_to_device = True
|
||||||
|
scale_news_images = (800, 600)
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='div', attrs={'class': 'External-ad'}),
|
dict(name='div', attrs={'class': 'External-ad'}),
|
||||||
dict(name='header', attrs={'class': 'Header'}),
|
dict(name='header', attrs={'class': 'Header'}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user