mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
25 lines
746 B
Plaintext
25 lines
746 B
Plaintext
__license__ = 'GPL v3'
|
|
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
www.foreignpolicy.com
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class AdvancedUserRecipe1349086293(BasicNewsRecipe):
|
|
title = u'Foreign Policy'
|
|
__author__ = 'Darko Miletic'
|
|
description = 'International News'
|
|
publisher = 'Washingtonpost.Newsweek Interactive, LLC'
|
|
category = 'news, politics, USA'
|
|
oldest_article = 31
|
|
max_articles_per_feed = 200
|
|
auto_cleanup = True
|
|
|
|
feeds = [(u'Foreign_Policy', u'http://www.foreignpolicy.com/node/feed')]
|
|
|
|
def print_version(self, url):
|
|
return url + '?print=yes&hidecomments=yes&page=full'
|
|
|
|
|