__license__ = 'GPL v3'
__author__ = 'faber1971'
description = 'Italian website on Juventus F.C. - v1.00 (17, December 2011)'

from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1305984536(BasicNewsRecipe):
    title = u'tuttojuve'
    description = 'Juventus'
    language = 'it'
    __author__ = 'faber1971'
    oldest_article = 1
    max_articles_per_feed = 100

    feeds = [
    (u'notizie', u'http://feeds.tuttojuve.com/rss/'),
    (u'da vinovo', u'http://feeds.tuttojuve.com/rss/?c=10'),
    (u'primo piano', u'http://feeds.tuttojuve.com/rss/?c=16'),
    (u'editoriale', u'http://feeds.tuttojuve.com/rss/?c=3'),
    (u'il punto', u'http://feeds.tuttojuve.com/rss/?c=8'),
    (u'pagelle', u'http://feeds.tuttojuve.com/rss/?c=9'),
    (u'avversario', u'http://feeds.tuttojuve.com/rss/?c=11')]

    def print_version(self, url):
        return self.browser.open_novisit(url).geturl()
