mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Endgadget recipe
This commit is contained in:
parent
2f9f2439f0
commit
0c0b55b5e8
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2008, Darko Miletic <darko.miletic at gmail.com>'
|
||||
__copyright__ = '2008 - 2009, Darko Miletic <darko.miletic at gmail.com>'
|
||||
'''
|
||||
engadget.com
|
||||
'''
|
||||
@ -13,19 +13,10 @@ class Engadget(BasicNewsRecipe):
|
||||
__author__ = 'Darko Miletic'
|
||||
description = 'Tech news'
|
||||
language = 'en'
|
||||
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
|
||||
keep_only_tags = [ dict(name='div', attrs={'class':'post'}) ]
|
||||
remove_tags = [
|
||||
dict(name='object')
|
||||
,dict(name='div', attrs={'class':'postmeta'})
|
||||
,dict(name='div', attrs={'class':'quigoads'})
|
||||
]
|
||||
|
||||
use_embedded_content = True
|
||||
|
||||
feeds = [ (u'Posts', u'http://www.engadget.com/rss.xml')]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user