2
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
4
Profile to download Newsweek
6
from calibre.ebooks.lrf.web.profiles import DefaultProfile
8
class Newsweek(DefaultProfile):
12
timefmt = ' [%d %b %Y]'
13
html_description = True
17
def print_version(self, url):
18
if not url.endswith('/'):
20
return url + 'output/print'
24
('Top News', 'http://feeds.newsweek.com/newsweek/TopNews',),
25
('Periscope', 'http://feeds.newsweek.com/newsweek/periscope'),
26
('Politics', 'http://feeds.newsweek.com/headlines/politics'),
27
('Health', 'http://feeds.newsweek.com/headlines/health'),
28
('Business', 'http://feeds.newsweek.com/headlines/business'),
29
('Science and Technology', 'http://feeds.newsweek.com/headlines/technology/science'),
30
('National News', 'http://feeds.newsweek.com/newsweek/NationalNews'),
31
('World News', 'http://feeds.newsweek.com/newsweek/WorldNews'),
32
('Iraq', 'http://feeds.newsweek.com/newsweek/iraq'),
33
('Society', 'http://feeds.newsweek.com/newsweek/society'),
34
('Entertainment', 'http://feeds.newsweek.com/newsweek/entertainment'),
b'\\ No newline at end of file'