Commit 9370b2fa authored by Florent Fourcot's avatar Florent Fourcot

s/Backend/Module

parent 5fe0092c
......@@ -17,6 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import SevenFiftyGramsBackend
from .backend import SevenFiftyGramsModule
__all__ = ['SevenFiftyGramsBackend']
__all__ = ['SevenFiftyGramsModule']
......@@ -27,10 +27,10 @@ import unicodedata
def strip_accents(s):
return ''.join(c for c in unicodedata.normalize('NFD', s) if unicodedata.category(c) != 'Mn')
__all__ = ['SevenFiftyGramsBackend']
__all__ = ['SevenFiftyGramsModule']
class SevenFiftyGramsBackend(BaseModule, CapRecipe):
class SevenFiftyGramsModule(BaseModule, CapRecipe):
NAME = '750g'
MAINTAINER = u'Julien Veyssier'
EMAIL = 'julien.veyssier@aiur.fr'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AdeccoBackend
from .backend import AdeccoModule
__all__ = ['AdeccoBackend']
__all__ = ['AdeccoModule']
......@@ -25,10 +25,10 @@ from weboob.capabilities.job import CapJob
from .browser import AdeccoBrowser
from .job import AdeccoJobAdvert
__all__ = ['AdeccoBackend']
__all__ = ['AdeccoModule']
class AdeccoBackend(BaseModule, CapJob):
class AdeccoModule(BaseModule, CapJob):
NAME = 'adecco'
DESCRIPTION = u'adecco website'
MAINTAINER = u'Bezleputh'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AgendadulibreBackend
from .backend import AgendadulibreModule
__all__ = ['AgendadulibreBackend']
__all__ = ['AgendadulibreModule']
......@@ -26,10 +26,10 @@ from weboob.tools.value import Value
from .browser import AgendadulibreBrowser
__all__ = ['AgendadulibreBackend']
__all__ = ['AgendadulibreModule']
class AgendadulibreBackend(BaseModule, CapCalendarEvent):
class AgendadulibreModule(BaseModule, CapCalendarEvent):
NAME = 'agendadulibre'
DESCRIPTION = u'agendadulibre website'
MAINTAINER = u'Bezleputh'
......
......@@ -17,6 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AllocineBackend
from .backend import AllocineModule
__all__ = ['AllocineBackend']
__all__ = ['AllocineModule']
......@@ -24,10 +24,10 @@ from .browser import AllocineBrowser
from urllib import quote_plus
__all__ = ['AllocineBackend']
__all__ = ['AllocineModule']
class AllocineBackend(BaseModule, CapCinema):
class AllocineModule(BaseModule, CapCinema):
NAME = 'allocine'
MAINTAINER = u'Julien Veyssier'
EMAIL = 'julien.veyssier@aiur.fr'
......
......@@ -18,6 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AlloRestoBackend
from .backend import AlloRestoModule
__all__ = ['AlloRestoBackend']
__all__ = ['AlloRestoModule']
......@@ -26,10 +26,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import AlloRestoBrowser
__all__ = ['AlloRestoBackend']
__all__ = ['AlloRestoModule']
class AlloRestoBackend(BaseModule, CapBank):
class AlloRestoModule(BaseModule, CapBank):
NAME = 'alloresto'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -17,6 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AllrecipesBackend
from .backend import AllrecipesModule
__all__ = ['AllrecipesBackend']
__all__ = ['AllrecipesModule']
......@@ -24,10 +24,10 @@ from .browser import AllrecipesBrowser
from urllib import quote_plus
__all__ = ['AllrecipesBackend']
__all__ = ['AllrecipesModule']
class AllrecipesBackend(BaseModule, CapRecipe):
class AllrecipesModule(BaseModule, CapRecipe):
NAME = 'allrecipes'
MAINTAINER = u'Julien Veyssier'
EMAIL = 'julien.veyssier@aiur.fr'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AmeliBackend
from .backend import AmeliModule
__all__ = ['AmeliBackend']
__all__ = ['AmeliModule']
......@@ -23,10 +23,10 @@ from weboob.tools.backend import BaseModule, BackendConfig
from weboob.tools.value import ValueBackendPassword
from .browser import AmeliBrowser
__all__ = ['AmeliBackend']
__all__ = ['AmeliModule']
class AmeliBackend(BaseModule, CapBill):
class AmeliModule(BaseModule, CapBill):
NAME = 'ameli'
DESCRIPTION = u'Ameli website: French Health Insurance'
MAINTAINER = u'Christophe Lampin'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AmeliProBackend
from .backend import AmeliProModule
__all__ = ['AmeliProBackend']
__all__ = ['AmeliProModule']
......@@ -23,10 +23,10 @@ from weboob.tools.backend import BaseModule, BackendConfig
from weboob.tools.value import ValueBackendPassword
from .browser import AmeliProBrowser
__all__ = ['AmeliProBackend']
__all__ = ['AmeliProModule']
class AmeliProBackend(BaseModule, CapBill):
class AmeliProModule(BaseModule, CapBill):
NAME = 'amelipro'
DESCRIPTION = u'Ameli website: French Health Insurance for Professionals'
MAINTAINER = u'Christophe Lampin'
......
......@@ -18,6 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AmericanExpressBackend
from .backend import AmericanExpressModule
__all__ = ['AmericanExpressBackend']
__all__ = ['AmericanExpressModule']
......@@ -26,10 +26,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import AmericanExpressBrowser
__all__ = ['AmericanExpressBackend']
__all__ = ['AmericanExpressModule']
class AmericanExpressBackend(BaseModule, CapBank):
class AmericanExpressModule(BaseModule, CapBank):
NAME = 'americanexpress'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import ApecBackend
from .backend import ApecModule
__all__ = ['ApecBackend']
__all__ = ['ApecModule']
......@@ -25,10 +25,10 @@ from weboob.tools.value import Value
from .browser import ApecBrowser
from .job import ApecJobAdvert
__all__ = ['ApecBackend']
__all__ = ['ApecModule']
class ApecBackend(BaseModule, CapJob):
class ApecModule(BaseModule, CapJob):
NAME = 'apec'
DESCRIPTION = u'apec website'
MAINTAINER = u'Bezleputh'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import ApivieBackend
from .backend import ApivieModule
__all__ = ['ApivieBackend']
__all__ = ['ApivieModule']
......@@ -24,10 +24,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import ApivieBrowser
__all__ = ['ApivieBackend']
__all__ = ['ApivieModule']
class ApivieBackend(BaseModule, CapBank):
class ApivieModule(BaseModule, CapBank):
NAME = 'apivie'
DESCRIPTION = u'Apivie'
MAINTAINER = u'Romain Bignon'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import ArretSurImagesBackend
from .backend import ArretSurImagesModule
__all__ = ['ArretSurImagesBackend']
__all__ = ['ArretSurImagesModule']
......@@ -26,10 +26,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import ArretSurImagesBrowser
from .video import ArretSurImagesVideo
__all__ = ['ArretSurImagesBackend']
__all__ = ['ArretSurImagesModule']
class ArretSurImagesBackend(BaseModule, CapVideo, CapCollection):
class ArretSurImagesModule(BaseModule, CapVideo, CapCollection):
NAME = 'arretsurimages'
DESCRIPTION = u'arretsurimages website'
MAINTAINER = u'franek'
......
......@@ -17,6 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import ArteBackend
from .backend import ArteModule
__all__ = ['ArteBackend']
__all__ = ['ArteModule']
......@@ -29,10 +29,10 @@ from .browser import ArteBrowser
from .video import ArteVideo, ArteLiveVideo
__all__ = ['ArteBackend']
__all__ = ['ArteModule']
class ArteBackend(BaseModule, CapVideo, CapCollection):
class ArteModule(BaseModule, CapVideo, CapCollection):
NAME = 'arte'
MAINTAINER = u'Bezleputh'
EMAIL = 'carton_ben@yahoo.fr'
......
......@@ -17,6 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AttilasubBackend
from .backend import AttilasubModule
__all__ = ['AttilasubBackend']
__all__ = ['AttilasubModule']
......@@ -24,10 +24,10 @@ from .browser import AttilasubBrowser
from urllib import quote_plus
__all__ = ['AttilasubBackend']
__all__ = ['AttilasubModule']
class AttilasubBackend(BaseModule, CapSubtitle):
class AttilasubModule(BaseModule, CapSubtitle):
NAME = 'attilasub'
MAINTAINER = u'Julien Veyssier'
EMAIL = 'julien.veyssier@aiur.fr'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AudioAddictBackend
from .backend import AudioAddictModule
__all__ = ['AudioAddictBackend']
__all__ = ['AudioAddictModule']
......@@ -27,7 +27,7 @@ from weboob.tools.value import Value
from weboob.tools.browser import StandardBrowser
import time
__all__ = ['AudioAddictBackend']
__all__ = ['AudioAddictModule']
#
......@@ -38,7 +38,7 @@ __all__ = ['AudioAddictBackend']
# option to another player in the ~/.config/weboob/radioob config file:
# [ROOT]
# media_player = your_non_mplayer_player
class AudioAddictBackend(BaseModule, CapRadio, CapCollection):
class AudioAddictModule(BaseModule, CapRadio, CapCollection):
NAME = 'audioaddict'
MAINTAINER = u'Pierre Mazière'
EMAIL = 'pierre.maziere@gmx.com'
......@@ -124,7 +124,7 @@ class AudioAddictBackend(BaseModule, CapRadio, CapCollection):
)
def __init__(self, *a, **kw):
super(AudioAddictBackend, self).__init__(*a, **kw)
super(AudioAddictModule, self).__init__(*a, **kw)
self.RADIOS = {}
self.HISTORY = {}
......
......@@ -19,6 +19,6 @@
from .browser import AuMBrowser
from .backend import AuMBackend
from .backend import AuMModule
__all__ = ['AuMBrowser', 'AuMBackend']
__all__ = ['AuMBrowser', 'AuMModule']
......@@ -49,7 +49,7 @@ from .optim.visibility import Visibility
from .optim.queries_queue import QueriesQueue
__all__ = ['AuMBackend']
__all__ = ['AuMModule']
def parse_dt(s):
......@@ -57,7 +57,7 @@ def parse_dt(s):
return local2utc(d)
class AuMBackend(BaseModule, CapMessages, CapMessagesPost, CapDating, CapChat, CapContact, CapAccount):
class AuMModule(BaseModule, CapMessages, CapMessagesPost, CapDating, CapChat, CapContact, CapAccount):
NAME = 'aum'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -18,6 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import AXABanqueBackend
from .backend import AXABanqueModule
__all__ = ['AXABanqueBackend']
__all__ = ['AXABanqueModule']
......@@ -25,10 +25,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import AXABanque
__all__ = ['AXABanqueBackend']
__all__ = ['AXABanqueModule']
class AXABanqueBackend(BaseModule, CapBank):
class AXABanqueModule(BaseModule, CapBank):
NAME = 'axabanque'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BanqueAccordBackend
from .backend import BanqueAccordModule
__all__ = ['BanqueAccordBackend']
__all__ = ['BanqueAccordModule']
......@@ -26,10 +26,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import BanqueAccordBrowser
__all__ = ['BanqueAccordBackend']
__all__ = ['BanqueAccordModule']
class BanqueAccordBackend(BaseModule, CapBank):
class BanqueAccordModule(BaseModule, CapBank):
NAME = 'banqueaccord'
DESCRIPTION = u'Banque Accord'
MAINTAINER = u'Romain Bignon'
......
......@@ -18,6 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BanquePopulaireBackend
from .backend import BanquePopulaireModule
__all__ = ['BanquePopulaireBackend']
__all__ = ['BanquePopulaireModule']
......@@ -26,10 +26,10 @@ from weboob.tools.value import ValueBackendPassword, Value
from .browser import BanquePopulaire
__all__ = ['BanquePopulaireBackend']
__all__ = ['BanquePopulaireModule']
class BanquePopulaireBackend(BaseModule, CapBank):
class BanquePopulaireModule(BaseModule, CapBank):
NAME = 'banquepopulaire'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -18,6 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BarclaysBackend
from .backend import BarclaysModule
__all__ = ['BarclaysBackend']
__all__ = ['BarclaysModule']
......@@ -25,10 +25,10 @@ from weboob.tools.value import ValueBackendPassword
from .browser import Barclays
__all__ = ['BarclaysBackend']
__all__ = ['BarclaysModule']
class BarclaysBackend(BaseModule, CapBank):
class BarclaysModule(BaseModule, CapBank):
NAME = 'barclays'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -17,6 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BatotoBackend
from .backend import BatotoModule
__all__ = ['BatotoBackend']
__all__ = ['BatotoModule']
......@@ -17,12 +17,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderModule, DisplayPage
__all__ = ['BatotoBackend']
__all__ = ['BatotoModule']
class BatotoBackend(GenericComicReaderBackend):
class BatotoModule(GenericComicReaderModule):
NAME = 'batoto'
DESCRIPTION = 'Batoto manga reading website'
DOMAIN = 'www.batoto.com'
......
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BiplanBackend
from .backend import BiplanModule
__all__ = ['BiplanBackend']
__all__ = ['BiplanModule']
......@@ -25,10 +25,10 @@ import itertools
from .browser import BiplanBrowser
from.calendar import BiplanCalendarEvent
__all__ = ['BiplanBackend']
__all__ = ['BiplanModule']
class BiplanBackend(BaseModule, CapCalendarEvent):
class BiplanModule(BaseModule, CapCalendarEvent):
NAME = 'biplan'
DESCRIPTION = u'lebiplan.org website'
MAINTAINER = u'Bezleputh'
......
......@@ -18,6 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BNPorcBackend
from .backend import BNPorcModule
__all__ = ['BNPorcBackend']
__all__ = ['BNPorcModule']
......@@ -30,10 +30,10 @@ from .browser import BNPorc
from .enterprise.browser import BNPEnterprise
__all__ = ['BNPorcBackend']
__all__ = ['BNPorcModule']
class BNPorcBackend(BaseModule, CapBank, CapMessages):
class BNPorcModule(BaseModule, CapBank, CapMessages):
NAME = 'bnporc'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
......
......@@ -19,6 +19,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .backend import BoursoramaBackend
from .backend import BoursoramaModule
__all__ = ['BoursoramaBackend']
__all__ = ['BoursoramaModule']
......@@ -27,10 +27,10 @@ from weboob.tools.value import ValueBackendPassword, ValueBool, Value
from .browser import Boursorama
__all__ = ['BoursoramaBackend']
__all__ = ['BoursoramaModule']
class BoursoramaBackend(BaseModule, CapBank):
class BoursoramaModule(BaseModule, CapBank):
NAME = 'boursorama'