mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove not working Reuters recipe
This commit is contained in:
parent
45e14b7797
commit
8065624ded
Binary file not shown.
Before Width: | Height: | Size: 449 B |
@ -1,36 +0,0 @@
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
class Reuters(BasicNewsRecipe):
|
||||
|
||||
title = 'Reuters'
|
||||
description = 'Global news'
|
||||
__author__ = 'Kovid Goyal and Sujata Raman'
|
||||
use_embedded_content = False
|
||||
language = 'en'
|
||||
|
||||
max_articles_per_feed = 10
|
||||
no_stylesheets = True
|
||||
remove_javascript = True
|
||||
auto_cleanup = True
|
||||
auto_cleanup_keep = '//div[@class="relatedPhoto landscape"]'
|
||||
|
||||
extra_css = '''
|
||||
body{font-family:arial,helvetica,sans;}
|
||||
h1{ font-size:larger ; font-weight:bold; }
|
||||
.byline{color:#006E97;font-size:x-small; font-weight:bold;}
|
||||
.location{font-size:x-small; font-weight:bold;}
|
||||
.timestamp{font-size:x-small; }
|
||||
'''
|
||||
|
||||
feeds = [('Top Stories', 'http://feeds.reuters.com/reuters/topNews?format=xml'),
|
||||
('US News', 'http://feeds.reuters.com/reuters/domesticNews?format=xml'),
|
||||
('World News', 'http://feeds.reuters.com/reuters/worldNews?format=xml'),
|
||||
('Politics News', 'http://feeds.reuters.com/reuters/politicsNews?format=xml'),
|
||||
('Science News', 'http://feeds.reuters.com/reuters/scienceNews?format=xml'),
|
||||
('Environment News', 'http://feeds.reuters.com/reuters/Environment?format=xml'),
|
||||
('Technology News',
|
||||
'http://feeds.reuters.com/reuters/technologyNews?format=xml'),
|
||||
('Oddly Enough News',
|
||||
'http://feeds.reuters.com/reuters/oddlyEnoughNews?format=xml')
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user