Skip to content
module.py 1.37 KiB
Newer Older
juke's avatar
juke committed
# -*- coding: utf-8 -*-

# Copyright(C) 2011  Julien Hebert
#
# This file is part of a weboob module.
juke's avatar
juke committed
#
# This weboob module is free software: you can redistribute it and/or modify
Romain Bignon's avatar
Romain Bignon committed
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
juke's avatar
juke committed
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Romain Bignon's avatar
Romain Bignon committed
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
juke's avatar
juke committed
#
Romain Bignon's avatar
Romain Bignon committed
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
julien's avatar
julien committed
"backend for http://20minutes.fr"
from weboob.capabilities.messages import CapMessages
from weboob.tools.backend import AbstractModule
julien's avatar
julien committed
from .browser import Newspaper20minutesBrowser
class Newspaper20minutesModule(AbstractModule, CapMessages):
    MAINTAINER = u'Julien Hebert'
juke's avatar
juke committed
    EMAIL = 'juke@free.fr'
Romain Bignon's avatar
Romain Bignon committed
    VERSION = '1.5'
Romain Bignon's avatar
Romain Bignon committed
    LICENSE = 'AGPLv3+'
juke's avatar
juke committed
    STORAGE = {'seen': {}}
julien's avatar
julien committed
    NAME = 'minutes20'
    DESCRIPTION = u'20 Minutes French newspaper website'
juke's avatar
juke committed
    BROWSER = Newspaper20minutesBrowser
Romain Bignon's avatar
Romain Bignon committed
    RSS_FEED = 'http://www.20minutes.fr/rss/une.xml'
    PARENT = 'genericnewspaper'