mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix TidBits
This commit is contained in:
parent
509c214de0
commit
92428b9135
@ -16,8 +16,9 @@ class TidBITS(BasicNewsRecipe):
|
|||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
|
#auto_cleanup = True
|
||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
use_embedded_content = True
|
use_embedded_content = False
|
||||||
language = 'en'
|
language = 'en'
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
masthead_url = 'http://db.tidbits.com/images/tblogo9.gif'
|
masthead_url = 'http://db.tidbits.com/images/tblogo9.gif'
|
||||||
@ -30,9 +31,11 @@ class TidBITS(BasicNewsRecipe):
|
|||||||
, 'language' : language
|
, 'language' : language
|
||||||
}
|
}
|
||||||
|
|
||||||
remove_attributes = ['width','height']
|
#remove_attributes = ['width','height']
|
||||||
remove_tags = [dict(name='small')]
|
#remove_tags = [dict(name='small')]
|
||||||
remove_tags_after = dict(name='small')
|
#remove_tags_after = dict(name='small')
|
||||||
|
keep_only_tags = [dict(name='div', attrs={'id':'center_ajax_sub'})]
|
||||||
|
remove_tags = [dict(name='div', attrs={'id':'social-media'})]
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
(u'Business Apps' , u'http://db.tidbits.com/feeds/business.rss' )
|
(u'Business Apps' , u'http://db.tidbits.com/feeds/business.rss' )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user