Update Endgadget

This commit is contained in:
Kovid Goyal 2016-03-24 07:32:50 +05:30
parent c41e4b00fc
commit 1909f68979

View File

@ -10,9 +10,9 @@ from calibre.web.feeds.news import BasicNewsRecipe
class Engadget(BasicNewsRecipe):
title = u'Engadget'
__author__ = 'Starson17, modified'
__version__ = 'v1.00'
__date__ = '02, January 2016'
__author__ = 'Starson17, modified by epubli'
__version__ = 'v1.10'
__date__ = '23, March 2016'
description = 'Tech news'
language = 'en'
oldest_article = 7
@ -23,11 +23,10 @@ class Engadget(BasicNewsRecipe):
remove_empty_feeds = True
compress_news_images = True
compress_news_images_auto_size = 8
scale_news_images_to_device = True
remove_attributes = ['class']
keep_only_tags = [
dict(name='img', attrs={'class':['stretch-img hide@m-']}),
dict(name='div', attrs={'class':['article-text c-gray-1','o-title_mark@tp+ bc-gray-1 col-10-of-12@tl+']}),
dict(name='div', attrs={'class':['article-text c-gray-1','article-text c-gray-1 no-review','o-title_mark@tp+ bc-gray-1 col-10-of-12@tl+']}),
]
feeds = [(u'Posts', u'http://www.engadget.com/rss.xml')]