~ubuntu-branches/debian/wheezy/calibre/wheezy

« back to all changes in this revision

Viewing changes to recipes/tuttojove.recipe

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-01-07 11:22:54 UTC
  • mfrom: (29.4.10 precise)
  • Revision ID: package-import@ubuntu.com-20120107112254-n1syr437o46ds802
Tags: 0.8.34+dfsg-1
* New upstream version. (Closes: #654751)
* debian/rules: Do not install calibre copy of chardet; instead, add
  build/binary python-chardet dependency.
* Add disable_plugins.py: Disable plugin dialog. It uses a totally
  non-authenticated and non-trusted way of installing arbitrary code.
  (Closes: #640026)
* debian/rules: Install with POSIX locale, to avoid installing translated
  manpages into the standard locations. (Closes: #646674)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
__license__   = 'GPL v3'
 
2
__author__    = 'faber1971'
 
3
description   = 'Italian website on Juventus F.C. - v1.00 (17, December 2011)'
 
4
 
 
5
from calibre.web.feeds.news import BasicNewsRecipe
 
6
 
 
7
class AdvancedUserRecipe1305984536(BasicNewsRecipe):
 
8
    title          = u'tuttojuve'
 
9
    description = 'Juventus'
 
10
    language = 'it'
 
11
    __author__ = 'faber1971'
 
12
    oldest_article = 1
 
13
    max_articles_per_feed = 100
 
14
 
 
15
    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')]
 
16
    def print_version(self, url):
 
17
        return self.browser.open_novisit(url).geturl()