From c36cdb252816fec26c041349b48ff46f6ddbf5b8 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 24 Feb 2019 21:07:41 +0100 Subject: [PATCH] Update of modules --- README.md | 2 +- modules/750g/__init__.py | 8 +- modules/750g/browser.py | 8 +- modules/750g/module.py | 8 +- modules/750g/pages.py | 8 +- modules/750g/test.py | 8 +- modules/adecco/__init__.py | 8 +- modules/adecco/browser.py | 8 +- modules/adecco/module.py | 8 +- modules/adecco/pages.py | 8 +- modules/adecco/test.py | 8 +- modules/afer/__init__.py | 8 +- modules/afer/browser.py | 8 +- modules/afer/module.py | 8 +- modules/afer/pages.py | 8 +- modules/agendaculturel/__init__.py | 8 +- modules/agendaculturel/browser.py | 8 +- modules/agendaculturel/calendar.py | 8 +- modules/agendaculturel/module.py | 8 +- modules/agendaculturel/pages.py | 8 +- modules/agendaculturel/test.py | 8 +- modules/agendadulibre/__init__.py | 8 +- modules/agendadulibre/browser.py | 8 +- modules/agendadulibre/calendar.py | 8 +- modules/agendadulibre/module.py | 8 +- modules/agendadulibre/pages.py | 8 +- modules/agendadulibre/test.py | 8 +- modules/allocine/__init__.py | 8 +- modules/allocine/browser.py | 8 +- modules/allocine/module.py | 8 +- modules/allocine/test.py | 8 +- modules/allrecipes/__init__.py | 8 +- modules/allrecipes/browser.py | 8 +- modules/allrecipes/module.py | 8 +- modules/allrecipes/pages.py | 8 +- modules/allrecipes/test.py | 8 +- modules/amazon/__init__.py | 8 +- modules/amazon/browser.py | 8 +- modules/amazon/de/browser.py | 8 +- modules/amazon/en/browser.py | 8 +- modules/amazon/module.py | 8 +- modules/amazon/pages.py | 8 +- modules/amazon/test.py | 8 +- modules/amazon/uk/browser.py | 8 +- modules/amazonstorecard/__init__.py | 8 +- modules/amazonstorecard/browser.py | 8 +- modules/amazonstorecard/module.py | 8 +- modules/amazonstorecard/pages.py | 8 +- modules/amazonstorecard/test.py | 8 +- modules/ameli/__init__.py | 8 +- modules/ameli/browser.py | 8 +- modules/ameli/module.py | 8 +- modules/ameli/pages.py | 8 +- modules/ameli/test.py | 8 +- modules/amelipro/__init__.py | 8 +- modules/amelipro/browser.py | 8 +- modules/amelipro/module.py | 8 +- modules/amelipro/pages.py | 8 +- modules/amelipro/test.py | 8 +- modules/americanexpress/__init__.py | 8 +- modules/americanexpress/browser.py | 11 +- modules/americanexpress/module.py | 8 +- modules/americanexpress/pages.py | 8 +- modules/americanexpress/test.py | 8 +- modules/amundi/__init__.py | 8 +- modules/amundi/browser.py | 10 +- modules/amundi/module.py | 10 +- modules/amundi/pages.py | 8 +- modules/anticaptcha/__init__.py | 8 +- modules/anticaptcha/browser.py | 27 ++- modules/anticaptcha/module.py | 12 +- modules/anticaptcha/test.py | 8 +- modules/apec/__init__.py | 8 +- modules/apec/browser.py | 8 +- modules/apec/job.py | 8 +- modules/apec/module.py | 8 +- modules/apec/pages.py | 8 +- modules/apec/test.py | 8 +- modules/apivie/__init__.py | 8 +- modules/apivie/browser.py | 8 +- modules/apivie/module.py | 8 +- modules/apivie/pages.py | 8 +- modules/apivie/test.py | 8 +- modules/arte/__init__.py | 8 +- modules/arte/browser.py | 8 +- modules/arte/module.py | 8 +- modules/arte/pages.py | 8 +- modules/arte/test.py | 8 +- modules/arte/video.py | 8 +- modules/asana/__init__.py | 8 +- modules/asana/browser.py | 8 +- modules/asana/module.py | 8 +- modules/asana/test.py | 8 +- modules/audioaddict/__init__.py | 8 +- modules/audioaddict/module.py | 8 +- modules/audioaddict/test.py | 8 +- modules/aum/__init__.py | 8 +- modules/aum/antispam.py | 8 +- modules/aum/browser.py | 8 +- modules/aum/contact.py | 8 +- modules/aum/module.py | 8 +- modules/aum/optim/profiles_walker.py | 8 +- modules/aum/optim/queries_queue.py | 8 +- modules/aum/optim/visibility.py | 8 +- modules/aum/test.py | 8 +- modules/avendrealouer/__init__.py | 8 +- modules/avendrealouer/browser.py | 8 +- modules/avendrealouer/module.py | 8 +- modules/avendrealouer/pages.py | 8 +- modules/avendrealouer/test.py | 8 +- modules/axabanque/__init__.py | 8 +- modules/axabanque/browser.py | 8 +- modules/axabanque/module.py | 8 +- modules/axabanque/pages/bank.py | 8 +- modules/axabanque/pages/document.py | 8 +- modules/axabanque/pages/login.py | 8 +- modules/axabanque/pages/transfer.py | 8 +- modules/axabanque/pages/wealth.py | 8 +- modules/axabanque/test.py | 8 +- modules/bandcamp/__init__.py | 8 +- modules/bandcamp/browser.py | 8 +- modules/bandcamp/module.py | 8 +- modules/bandcamp/pages.py | 8 +- modules/bandcamp/test.py | 8 +- modules/banqueaccord/__init__.py | 8 +- modules/banqueaccord/module.py | 8 +- modules/banquepopulaire/__init__.py | 8 +- modules/banquepopulaire/browser.py | 8 +- modules/banquepopulaire/linebourse_browser.py | 8 +- modules/banquepopulaire/module.py | 8 +- modules/banquepopulaire/pages.py | 8 +- modules/banquepopulaire/test.py | 8 +- modules/barclays/__init__.py | 8 +- modules/barclays/browser.py | 33 ++- modules/barclays/module.py | 8 +- modules/barclays/pages.py | 11 +- modules/barclays/test.py | 8 +- modules/becm/__init__.py | 8 +- modules/becm/browser.py | 8 +- modules/becm/module.py | 8 +- modules/becm/pages.py | 8 +- modules/becm/test.py | 8 +- modules/bforbank/__init__.py | 8 +- modules/bforbank/browser.py | 8 +- modules/bforbank/module.py | 8 +- modules/bforbank/pages.py | 8 +- modules/bforbank/spirica_browser.py | 8 +- modules/bibliothequesparis/__init__.py | 8 +- modules/bibliothequesparis/browser.py | 8 +- modules/bibliothequesparis/module.py | 8 +- modules/bibliothequesparis/pages.py | 10 +- modules/bibliothequesparis/test.py | 8 +- modules/billetreduc/__init__.py | 8 +- modules/billetreduc/browser.py | 8 +- modules/billetreduc/module.py | 8 +- modules/billetreduc/pages.py | 8 +- modules/billetreduc/test.py | 8 +- modules/binck/__init__.py | 8 +- modules/binck/browser.py | 14 +- modules/binck/module.py | 8 +- modules/binck/pages.py | 15 +- modules/binck/test.py | 8 +- modules/biplan/__init__.py | 8 +- modules/biplan/browser.py | 8 +- modules/biplan/calendar.py | 8 +- modules/biplan/module.py | 8 +- modules/biplan/pages.py | 8 +- modules/biplan/test.py | 8 +- modules/blablacar/__init__.py | 8 +- modules/blablacar/browser.py | 8 +- modules/blablacar/module.py | 8 +- modules/blablacar/pages.py | 8 +- modules/blablacar/test.py | 8 +- modules/blogspot/__init__.py | 8 +- modules/blogspot/browser.py | 8 +- modules/blogspot/module.py | 8 +- modules/blogspot/pages.py | 8 +- modules/blogspot/test.py | 8 +- modules/bnpcards/__init__.py | 8 +- modules/bnpcards/browser.py | 8 +- modules/bnpcards/corporate/browser.py | 8 +- modules/bnpcards/corporate/pages.py | 8 +- modules/bnpcards/module.py | 8 +- modules/bnpcards/pages.py | 8 +- modules/bnpcards/proxy_browser.py | 8 +- modules/bnpcards/test.py | 8 +- modules/bnporc/__init__.py | 8 +- modules/bnporc/company/browser.py | 8 +- modules/bnporc/company/pages.py | 8 +- modules/bnporc/enterprise/browser.py | 8 +- modules/bnporc/enterprise/pages.py | 8 +- modules/bnporc/module.py | 8 +- modules/bnporc/pp/browser.py | 8 +- modules/bnporc/pp/pages.py | 8 +- modules/bnporc/test.py | 8 +- modules/bnppere/__init__.py | 8 +- modules/bnppere/browser.py | 13 +- modules/bnppere/module.py | 8 +- modules/bnppere/pages.py | 31 ++- modules/bnppere/test.py | 8 +- modules/bolden/__init__.py | 8 +- modules/bolden/browser.py | 8 +- modules/bolden/module.py | 8 +- modules/bolden/pages.py | 12 +- modules/boursorama/__init__.py | 8 +- modules/boursorama/browser.py | 8 +- modules/boursorama/module.py | 8 +- modules/boursorama/pages.py | 8 +- modules/boursorama/test.py | 8 +- modules/bouygues/browser.py | 8 +- modules/bouygues/module.py | 8 +- modules/bouygues/pages.py | 8 +- modules/bp/__init__.py | 8 +- modules/bp/browser.py | 11 +- modules/bp/linebourse_browser.py | 8 +- modules/bp/module.py | 26 +-- modules/bp/pages/__init__.py | 8 +- modules/bp/pages/accounthistory.py | 8 +- modules/bp/pages/accountlist.py | 25 ++- modules/bp/pages/base.py | 8 +- modules/bp/pages/login.py | 8 +- modules/bp/pages/mandate.py | 8 +- modules/bp/pages/pro.py | 13 +- modules/bp/pages/subscription.py | 8 +- modules/bp/pages/transfer.py | 8 +- modules/bred/__init__.py | 8 +- modules/bred/bred/browser.py | 8 +- modules/bred/bred/pages.py | 8 +- modules/bred/dispobank/browser.py | 8 +- modules/bred/dispobank/pages.py | 8 +- modules/bred/module.py | 8 +- modules/bred/test.py | 8 +- modules/btmon/__init__.py | 8 +- modules/btmon/browser.py | 8 +- modules/btmon/module.py | 8 +- modules/btmon/pages.py | 8 +- modules/btmon/test.py | 8 +- modules/btpbanque/__init__.py | 8 +- modules/btpbanque/caisseepargne_browser.py | 8 +- modules/btpbanque/cenet_browser.py | 8 +- modules/btpbanque/module.py | 8 +- modules/btpbanque/proxy_browser.py | 8 +- modules/btpbanque/test.py | 8 +- modules/caels/__init__.py | 8 +- modules/caels/browser.py | 8 +- modules/caels/module.py | 8 +- modules/caels/pages.py | 8 +- modules/caissedepargne/__init__.py | 8 +- modules/caissedepargne/browser.py | 17 +- modules/caissedepargne/cenet/browser.py | 8 +- modules/caissedepargne/cenet/pages.py | 8 +- modules/caissedepargne/linebourse_browser.py | 8 +- modules/caissedepargne/module.py | 8 +- modules/caissedepargne/pages.py | 21 +- modules/caissedepargne/proxy_browser.py | 8 +- modules/caissedepargne/test.py | 8 +- modules/canalplus/__init__.py | 8 +- modules/canalplus/browser.py | 8 +- modules/canalplus/module.py | 8 +- modules/canalplus/pages.py | 8 +- modules/canalplus/test.py | 8 +- modules/canalplus/video.py | 8 +- modules/capeasi/__init__.py | 8 +- modules/capeasi/browser.py | 8 +- modules/capeasi/module.py | 8 +- modules/capeasi/test.py | 8 +- modules/carrefourbanque/__init__.py | 8 +- modules/carrefourbanque/browser.py | 8 +- modules/carrefourbanque/module.py | 8 +- modules/carrefourbanque/pages.py | 8 +- modules/carrefourbanque/test.py | 8 +- modules/cci/__init__.py | 8 +- modules/cci/browser.py | 8 +- modules/cci/module.py | 8 +- modules/cci/pages.py | 8 +- modules/cci/test.py | 8 +- modules/centquatre/__init__.py | 8 +- modules/centquatre/browser.py | 8 +- modules/centquatre/calendar.py | 8 +- modules/centquatre/module.py | 8 +- modules/centquatre/pages.py | 8 +- modules/centquatre/test.py | 8 +- modules/chronopost/__init__.py | 8 +- modules/chronopost/browser.py | 8 +- modules/chronopost/module.py | 8 +- modules/chronopost/pages.py | 8 +- modules/cic/__init__.py | 8 +- modules/cic/browser.py | 8 +- modules/cic/module.py | 8 +- modules/cic/pages.py | 8 +- modules/cic/test.py | 8 +- modules/cices/__init__.py | 8 +- modules/cices/browser.py | 8 +- modules/cices/module.py | 18 +- modules/cices/test.py | 8 +- modules/citibank/__init__.py | 8 +- modules/citibank/browser.py | 8 +- modules/citibank/module.py | 8 +- modules/citibank/parser.py | 8 +- modules/citibank/test.py | 8 +- modules/cityscoot/__init__.py | 8 +- modules/cityscoot/browser.py | 8 +- modules/cityscoot/module.py | 8 +- modules/cityscoot/pages.py | 8 +- modules/cityscoot/test.py | 8 +- modules/cmb/__init__.py | 8 +- modules/cmb/module.py | 12 +- modules/cmb/par/browser.py | 8 +- modules/cmb/pro/browser.py | 8 +- modules/cmes/__init__.py | 8 +- modules/cmes/browser.py | 14 +- modules/cmes/module.py | 14 +- modules/cmes/pages.py | 8 +- modules/cmes/test.py | 8 +- modules/cmmc/__init__.py | 8 +- modules/cmmc/module.py | 12 +- modules/cmmc/par/browser.py | 8 +- modules/cmmc/pro/browser.py | 8 +- modules/cmso/__init__.py | 8 +- modules/cmso/module.py | 8 +- modules/cmso/par/browser.py | 14 +- modules/cmso/par/pages.py | 12 +- modules/cmso/par/transfer_pages.py | 169 +++++++++++++++ modules/cmso/pro/browser.py | 8 +- modules/cmso/pro/pages.py | 8 +- modules/colisprive/__init__.py | 8 +- modules/colisprive/browser.py | 8 +- modules/colisprive/module.py | 8 +- modules/colisprive/pages.py | 8 +- modules/colissimo/__init__.py | 8 +- modules/colissimo/browser.py | 8 +- modules/colissimo/module.py | 8 +- modules/cpasbien/browser.py | 8 +- modules/cpasbien/module.py | 8 +- modules/cpasbien/pages.py | 8 +- modules/cpasbien/test.py | 8 +- modules/cragr/__init__.py | 8 +- modules/cragr/api/browser.py | 154 ++++++++++++- modules/cragr/api/netfinca_browser.py | 11 + modules/cragr/api/pages.py | 18 +- modules/cragr/module.py | 8 +- modules/cragr/proxy_browser.py | 8 +- modules/cragr/test.py | 8 +- modules/cragr/web/browser.py | 8 +- modules/cragr/web/pages.py | 8 +- modules/creditcooperatif/__init__.py | 8 +- .../creditcooperatif/caisseepargne_browser.py | 8 +- modules/creditcooperatif/cenet_browser.py | 8 +- .../creditcooperatif/linebourse_browser.py | 8 +- modules/creditcooperatif/module.py | 8 +- modules/creditcooperatif/proxy_browser.py | 8 +- modules/creditcooperatif/test.py | 8 +- modules/creditdunord/__init__.py | 8 +- modules/creditdunord/browser.py | 13 +- modules/creditdunord/module.py | 8 +- modules/creditdunord/pages.py | 39 +++- modules/creditdunord/test.py | 8 +- modules/creditdunordpee/__init__.py | 8 +- modules/creditdunordpee/browser.py | 8 +- modules/creditdunordpee/module.py | 8 +- modules/creditdunordpee/pages.py | 8 +- modules/creditmutuel/__init__.py | 8 +- modules/creditmutuel/browser.py | 14 +- modules/creditmutuel/module.py | 8 +- modules/creditmutuel/pages.py | 15 +- modules/creditmutuel/test.py | 8 +- modules/cuisineaz/__init__.py | 8 +- modules/cuisineaz/browser.py | 8 +- modules/cuisineaz/module.py | 8 +- modules/cuisineaz/pages.py | 8 +- modules/cuisineaz/test.py | 8 +- modules/dailymotion/browser.py | 8 +- modules/dailymotion/module.py | 8 +- modules/dailymotion/pages.py | 8 +- modules/dailymotion/test.py | 8 +- modules/deathbycaptcha/__init__.py | 8 +- modules/deathbycaptcha/browser.py | 8 +- modules/deathbycaptcha/module.py | 8 +- modules/deathbycaptcha/test.py | 8 +- modules/delubac/__init__.py | 14 +- modules/delubac/browser.py | 67 ++---- modules/delubac/module.py | 35 ++- modules/delubac/pages.py | 161 +------------- modules/delubac/test.py | 14 +- modules/dhl/__init__.py | 8 +- modules/dhl/browser.py | 8 +- modules/dhl/module.py | 8 +- modules/dhl/pages.py | 8 +- modules/dhl/test.py | 8 +- modules/dlfp/__init__.py | 8 +- modules/dlfp/browser.py | 8 +- modules/dlfp/module.py | 8 +- modules/dlfp/pages/board.py | 8 +- modules/dlfp/pages/index.py | 8 +- modules/dlfp/pages/news.py | 8 +- modules/dlfp/pages/wiki.py | 8 +- modules/dlfp/test.py | 8 +- modules/dlfp/tools.py | 8 +- modules/dpd/__init__.py | 8 +- modules/dpd/browser.py | 8 +- modules/dpd/module.py | 8 +- modules/dpd/pages.py | 8 +- modules/dpd/test.py | 8 +- modules/dresdenwetter/__init__.py | 8 +- modules/dresdenwetter/browser.py | 8 +- modules/dresdenwetter/module.py | 8 +- modules/dresdenwetter/pages.py | 8 +- modules/dresdenwetter/test.py | 8 +- modules/ebonics/__init__.py | 8 +- modules/ebonics/module.py | 8 +- modules/ebonics/test.py | 8 +- modules/edf/__init__.py | 8 +- modules/edf/module.py | 8 +- modules/edf/par/browser.py | 12 +- modules/edf/par/pages.py | 14 +- modules/edf/pro/browser.py | 70 +++--- modules/edf/pro/pages.py | 60 +++-- modules/ekwateur/__init__.py | 8 +- modules/ekwateur/browser.py | 8 +- modules/ekwateur/module.py | 8 +- modules/ekwateur/pages.py | 8 +- modules/ekwateur/test.py | 8 +- modules/ensap/__init__.py | 8 +- modules/ensap/browser.py | 8 +- modules/ensap/module.py | 8 +- modules/ensap/pages.py | 8 +- modules/entreparticuliers/__init__.py | 8 +- modules/entreparticuliers/browser.py | 8 +- modules/entreparticuliers/module.py | 8 +- modules/entreparticuliers/pages.py | 8 +- modules/entreparticuliers/test.py | 8 +- modules/erehsbc/__init__.py | 8 +- modules/erehsbc/browser.py | 8 +- modules/erehsbc/module.py | 8 +- modules/erehsbc/test.py | 8 +- modules/esalia/__init__.py | 8 +- modules/esalia/browser.py | 8 +- modules/esalia/module.py | 8 +- modules/esalia/test.py | 8 +- modules/explorimmo/__init__.py | 8 +- modules/explorimmo/browser.py | 8 +- modules/explorimmo/module.py | 8 +- modules/explorimmo/pages.py | 8 +- modules/explorimmo/test.py | 8 +- modules/feedly/__init__.py | 8 +- modules/feedly/browser.py | 8 +- modules/feedly/google.py | 8 +- modules/feedly/module.py | 8 +- modules/feedly/pages.py | 8 +- modules/feedly/test.py | 8 +- modules/figgo/__init__.py | 8 +- modules/figgo/browser.py | 8 +- modules/figgo/module.py | 8 +- modules/figgo/pages.py | 8 +- modules/foncia/__init__.py | 8 +- modules/foncia/browser.py | 8 +- modules/foncia/module.py | 8 +- modules/foncia/pages.py | 8 +- modules/foncia/test.py | 8 +- modules/fortuneo/__init__.py | 8 +- modules/fortuneo/browser.py | 8 +- modules/fortuneo/module.py | 8 +- modules/fortuneo/pages/accounts_list.py | 17 +- modules/fortuneo/pages/login.py | 8 +- modules/fortuneo/pages/transfer.py | 8 +- modules/fortuneo/test.py | 8 +- modules/francetelevisions/browser.py | 8 +- modules/francetelevisions/module.py | 8 +- modules/francetelevisions/pages.py | 8 +- modules/francetelevisions/test.py | 8 +- modules/freemobile/__init__.py | 8 +- modules/freemobile/browser.py | 8 +- modules/freemobile/module.py | 8 +- modules/freemobile/pages/__init__.py | 8 +- modules/freemobile/pages/history.py | 8 +- modules/freemobile/pages/homepage.py | 8 +- modules/freemobile/pages/login.py | 8 +- modules/freemobile/pages/options.py | 8 +- modules/freemobile/pages/profile.py | 8 +- modules/freemobile/test.py | 8 +- modules/freeteknomusic/__init__.py | 8 +- modules/freeteknomusic/browser.py | 8 +- modules/freeteknomusic/module.py | 8 +- modules/freeteknomusic/pages.py | 8 +- modules/freeteknomusic/test.py | 8 +- modules/funmooc/__init__.py | 8 +- modules/funmooc/browser.py | 8 +- modules/funmooc/module.py | 8 +- modules/funmooc/pages.py | 8 +- modules/funmooc/test.py | 8 +- modules/funmooc/video.py | 8 +- modules/ganassurances/__init__.py | 8 +- modules/ganassurances/browser.py | 8 +- modules/ganassurances/module.py | 8 +- modules/ganassurances/test.py | 8 +- modules/genericnewspaper/browser.py | 8 +- modules/genericnewspaper/module.py | 8 +- modules/genericnewspaper/pages.py | 8 +- modules/github/__init__.py | 8 +- modules/github/browser.py | 8 +- modules/github/module.py | 8 +- modules/github/test.py | 8 +- modules/gls/__init__.py | 8 +- modules/gls/browser.py | 8 +- modules/gls/module.py | 8 +- modules/gls/pages.py | 8 +- modules/gls/test.py | 8 +- modules/gmf/__init__.py | 8 +- modules/gmf/browser.py | 8 +- modules/gmf/module.py | 8 +- modules/gmf/pages.py | 8 +- modules/googletranslate/__init__.py | 8 +- modules/googletranslate/browser.py | 8 +- modules/googletranslate/module.py | 8 +- modules/googletranslate/pages.py | 8 +- modules/googletranslate/test.py | 8 +- modules/groupama/__init__.py | 8 +- modules/groupama/browser.py | 8 +- modules/groupama/module.py | 8 +- modules/groupama/pages.py | 8 +- modules/groupama/test.py | 8 +- modules/groupamaes/__init__.py | 8 +- modules/groupamaes/browser.py | 8 +- modules/groupamaes/module.py | 8 +- modules/groupamaes/pages.py | 8 +- modules/groupamaes/test.py | 8 +- modules/guerrillamail/__init__.py | 8 +- modules/guerrillamail/browser.py | 8 +- modules/guerrillamail/module.py | 8 +- modules/guerrillamail/test.py | 8 +- modules/happn/__init__.py | 8 +- modules/happn/browser.py | 8 +- modules/happn/module.py | 8 +- modules/happn/test.py | 8 +- modules/hds/browser.py | 8 +- modules/hds/module.py | 8 +- modules/hds/pages.py | 8 +- modules/hds/test.py | 8 +- modules/hsbc/browser.py | 8 +- modules/hsbc/module.py | 8 +- modules/hsbc/pages/account_pages.py | 8 +- modules/hsbc/test.py | 8 +- modules/hybride/__init__.py | 8 +- modules/hybride/browser.py | 8 +- modules/hybride/calendar.py | 8 +- modules/hybride/module.py | 8 +- modules/hybride/pages.py | 8 +- modules/hybride/test.py | 8 +- modules/ideel/__init__.py | 8 +- modules/ideel/browser.py | 8 +- modules/ideel/module.py | 8 +- modules/ideel/test.py | 8 +- modules/ilmatieteenlaitos/__init__.py | 8 +- modules/ilmatieteenlaitos/browser.py | 8 +- modules/ilmatieteenlaitos/module.py | 8 +- modules/ilmatieteenlaitos/pages.py | 8 +- modules/ilmatieteenlaitos/test.py | 8 +- modules/imdb/__init__.py | 8 +- modules/imdb/browser.py | 8 +- modules/imdb/module.py | 8 +- modules/imdb/pages.py | 8 +- modules/imdb/test.py | 8 +- modules/imgur/__init__.py | 8 +- modules/imgur/browser.py | 8 +- modules/imgur/module.py | 8 +- modules/imgur/test.py | 8 +- modules/ina/browser.py | 8 +- modules/ina/module.py | 8 +- modules/ina/pages.py | 8 +- modules/ina/test.py | 8 +- modules/indeed/__init__.py | 8 +- modules/indeed/browser.py | 8 +- modules/indeed/module.py | 8 +- modules/indeed/pages.py | 8 +- modules/indeed/test.py | 8 +- modules/infomaniak/__init__.py | 8 +- modules/infomaniak/browser.py | 8 +- modules/infomaniak/module.py | 8 +- modules/infomaniak/pages.py | 8 +- modules/infomaniak/test.py | 8 +- modules/ing/__init__.py | 8 +- modules/ing/browser.py | 8 +- modules/ing/module.py | 8 +- modules/ing/pages/__init__.py | 8 +- modules/ing/pages/accounts_list.py | 8 +- modules/ing/pages/bills.py | 8 +- modules/ing/pages/login.py | 8 +- modules/ing/pages/titre.py | 8 +- modules/ing/pages/transfer.py | 8 +- modules/ing/test.py | 8 +- modules/inrocks/__init__.py | 8 +- modules/inrocks/browser.py | 8 +- modules/inrocks/module.py | 8 +- modules/inrocks/pages.py | 8 +- modules/inrocks/test.py | 8 +- modules/inrocks/tools.py | 8 +- modules/ipapi/module.py | 8 +- modules/ipapi/test.py | 8 +- modules/ipinfodb/browser.py | 8 +- modules/ipinfodb/module.py | 8 +- modules/ipinfodb/pages.py | 8 +- modules/ipinfodb/test.py | 8 +- modules/itella/__init__.py | 8 +- modules/itella/browser.py | 8 +- modules/itella/module.py | 8 +- modules/itella/pages.py | 8 +- modules/itella/test.py | 8 +- modules/jcvelaux/__init__.py | 8 +- modules/jcvelaux/browser.py | 8 +- modules/jcvelaux/module.py | 8 +- modules/jcvelaux/test.py | 8 +- modules/jirafeau/__init__.py | 8 +- modules/jirafeau/browser.py | 8 +- modules/jirafeau/module.py | 8 +- modules/jirafeau/pages.py | 8 +- modules/jirafeau/test.py | 8 +- modules/journaldesfemmes/__init__.py | 8 +- modules/journaldesfemmes/browser.py | 8 +- modules/journaldesfemmes/module.py | 8 +- modules/journaldesfemmes/pages.py | 8 +- modules/journaldesfemmes/test.py | 8 +- modules/kickass/browser.py | 8 +- modules/kickass/module.py | 8 +- modules/kickass/pages.py | 8 +- modules/kickass/test.py | 8 +- modules/kiwibank/__init__.py | 8 +- modules/kiwibank/browser.py | 8 +- modules/kiwibank/module.py | 8 +- modules/kiwibank/pages.py | 8 +- modules/kiwibank/test.py | 8 +- modules/lacentrale/browser.py | 8 +- modules/lacentrale/module.py | 8 +- modules/lacentrale/pages.py | 8 +- modules/lacentrale/product.py | 8 +- modules/lacentrale/test.py | 8 +- modules/lameteoagricole/__init__.py | 8 +- modules/lameteoagricole/browser.py | 8 +- modules/lameteoagricole/module.py | 8 +- modules/lameteoagricole/pages.py | 8 +- modules/lameteoagricole/test.py | 8 +- modules/lampiris/__init__.py | 8 +- modules/lampiris/browser.py | 8 +- modules/lampiris/module.py | 8 +- modules/lampiris/pages.py | 8 +- modules/lampiris/test.py | 8 +- modules/larousse/__init__.py | 8 +- modules/larousse/browser.py | 8 +- modules/larousse/module.py | 8 +- modules/larousse/pages.py | 8 +- modules/larousse/test.py | 8 +- modules/lcl/__init__.py | 8 +- modules/lcl/browser.py | 8 +- modules/lcl/enterprise/browser.py | 8 +- modules/lcl/enterprise/pages.py | 8 +- modules/lcl/module.py | 8 +- modules/lcl/pages.py | 18 +- modules/lcl/test.py | 8 +- modules/ldlc/__init__.py | 8 +- modules/ldlc/browser.py | 8 +- modules/ldlc/module.py | 8 +- modules/ldlc/pages.py | 8 +- modules/ldlc/test.py | 8 +- modules/leboncoin/__init__.py | 8 +- modules/leboncoin/browser.py | 8 +- modules/leboncoin/module.py | 8 +- modules/leboncoin/pages.py | 12 +- modules/leboncoin/test.py | 8 +- modules/lefigaro/__init__.py | 8 +- modules/lefigaro/browser.py | 8 +- modules/lefigaro/module.py | 8 +- modules/lefigaro/pages.py | 8 +- modules/lefigaro/test.py | 8 +- modules/lefigaro/tools.py | 8 +- modules/liberation/__init__.py | 8 +- modules/liberation/browser.py | 8 +- modules/liberation/module.py | 8 +- modules/liberation/pages.py | 8 +- modules/liberation/test.py | 8 +- modules/liberation/tools.py | 8 +- modules/limetorrents/__init__.py | 8 +- modules/limetorrents/browser.py | 8 +- modules/limetorrents/module.py | 8 +- modules/limetorrents/pages.py | 8 +- modules/limetorrents/test.py | 8 +- modules/linebourse/__init__.py | 8 +- modules/linebourse/api/pages.py | 8 +- modules/linebourse/browser.py | 8 +- modules/linebourse/module.py | 8 +- modules/linebourse/pages.py | 8 +- modules/linuxjobs/__init__.py | 8 +- modules/linuxjobs/browser.py | 8 +- modules/linuxjobs/module.py | 8 +- modules/linuxjobs/pages.py | 8 +- modules/linuxjobs/test.py | 8 +- modules/logicimmo/__init__.py | 8 +- modules/logicimmo/browser.py | 8 +- modules/logicimmo/module.py | 8 +- modules/logicimmo/pages.py | 8 +- modules/logicimmo/test.py | 8 +- modules/lolix/__init__.py | 8 +- modules/lolix/browser.py | 8 +- modules/lolix/job.py | 8 +- modules/lolix/module.py | 8 +- modules/lolix/pages.py | 8 +- modules/lolix/test.py | 8 +- modules/lutim/__init__.py | 8 +- modules/lutim/browser.py | 8 +- modules/lutim/module.py | 8 +- modules/lutim/pages.py | 8 +- modules/lutim/test.py | 8 +- modules/lyricsdotcom/__init__.py | 8 +- modules/lyricsdotcom/browser.py | 8 +- modules/lyricsdotcom/module.py | 8 +- modules/lyricsdotcom/pages.py | 8 +- modules/lyricsdotcom/test.py | 8 +- modules/lyricsmode/__init__.py | 8 +- modules/lyricsmode/browser.py | 8 +- modules/lyricsmode/module.py | 8 +- modules/lyricsmode/pages.py | 8 +- modules/lyricsmode/test.py | 8 +- modules/lyricsplanet/browser.py | 8 +- modules/lyricsplanet/module.py | 8 +- modules/lyricsplanet/pages.py | 8 +- modules/lyricsplanet/test.py | 8 +- modules/mailinator/__init__.py | 8 +- modules/mailinator/browser.py | 8 +- modules/mailinator/module.py | 8 +- modules/mailinator/test.py | 8 +- modules/manpower/__init__.py | 8 +- modules/manpower/browser.py | 8 +- modules/manpower/module.py | 8 +- modules/manpower/pages.py | 8 +- modules/manpower/test.py | 8 +- modules/mareeinfo/__init__.py | 8 +- modules/mareeinfo/browser.py | 8 +- modules/mareeinfo/module.py | 8 +- modules/mareeinfo/pages.py | 8 +- modules/mareeinfo/test.py | 8 +- modules/marmiton/__init__.py | 8 +- modules/marmiton/browser.py | 8 +- modules/marmiton/module.py | 8 +- modules/marmiton/pages.py | 8 +- modules/marmiton/test.py | 8 +- modules/materielnet/__init__.py | 8 +- modules/materielnet/browser.py | 8 +- modules/materielnet/module.py | 8 +- modules/materielnet/pages.py | 10 +- modules/materielnet/test.py | 8 +- modules/mediawiki/__init__.py | 8 +- modules/mediawiki/browser.py | 8 +- modules/mediawiki/module.py | 8 +- modules/mediawiki/test.py | 8 +- modules/meslieuxparis/__init__.py | 8 +- modules/meslieuxparis/browser.py | 8 +- modules/meslieuxparis/module.py | 8 +- modules/meslieuxparis/pages.py | 8 +- modules/meslieuxparis/test.py | 8 +- modules/meteofrance/__init__.py | 8 +- modules/meteofrance/browser.py | 8 +- modules/meteofrance/module.py | 8 +- modules/meteofrance/pages.py | 8 +- modules/meteofrance/test.py | 8 +- modules/minutes20/__init__.py | 8 +- modules/minutes20/browser.py | 8 +- modules/minutes20/module.py | 8 +- modules/minutes20/pages.py | 8 +- modules/minutes20/test.py | 8 +- modules/minutes20/tools.py | 8 +- modules/monster/__init__.py | 8 +- modules/monster/browser.py | 8 +- modules/monster/module.py | 8 +- modules/monster/pages.py | 8 +- modules/monster/test.py | 8 +- modules/myedenred/__init__.py | 8 +- modules/myedenred/browser.py | 8 +- modules/myedenred/module.py | 8 +- modules/myedenred/pages.py | 8 +- modules/myedenred/test.py | 8 +- modules/myfoncia/__init__.py | 8 +- modules/myfoncia/browser.py | 8 +- modules/myfoncia/module.py | 8 +- modules/myfoncia/pages.py | 8 +- modules/myfoncia/test.py | 8 +- modules/myhabit/__init__.py | 8 +- modules/myhabit/browser.py | 8 +- modules/myhabit/module.py | 8 +- modules/myhabit/test.py | 8 +- modules/n26/__init__.py | 8 +- modules/n26/browser.py | 8 +- modules/n26/module.py | 8 +- modules/nalo/__init__.py | 8 +- modules/nalo/browser.py | 10 +- modules/nalo/module.py | 8 +- modules/nalo/pages.py | 8 +- modules/nectarine/browser.py | 8 +- modules/nectarine/module.py | 8 +- modules/nectarine/pages.py | 8 +- modules/nectarine/test.py | 8 +- modules/nef/__init__.py | 26 +++ modules/nef/browser.py | 70 ++++++ modules/nef/favicon.png | Bin 0 -> 2437 bytes modules/nef/favicon.svg | 86 ++++++++ modules/nef/module.py | 129 +++++++++++ modules/nef/pages.py | 109 ++++++++++ modules/nef/test.py | 27 +++ modules/nef/transaction.py | 21 ++ modules/netfinca/__init__.py | 26 +++ modules/netfinca/browser.py | 51 +++++ modules/netfinca/module.py | 38 ++++ modules/netfinca/pages.py | 205 ++++++++++++++++++ modules/newsfeed/__init__.py | 8 +- modules/newsfeed/module.py | 8 +- modules/newsfeed/test.py | 8 +- modules/nova/__init__.py | 8 +- modules/nova/module.py | 8 +- modules/nova/test.py | 8 +- modules/okc/__init__.py | 8 +- modules/okc/browser.py | 8 +- modules/okc/module.py | 8 +- modules/okc/optim/profiles_walker.py | 8 +- modules/oney/__init__.py | 8 +- modules/oney/browser.py | 8 +- modules/oney/module.py | 8 +- modules/oney/pages.py | 8 +- modules/onlinenet/__init__.py | 8 +- modules/onlinenet/browser.py | 8 +- modules/onlinenet/module.py | 8 +- modules/onlinenet/pages.py | 8 +- modules/onlinenet/test.py | 8 +- modules/openedx/__init__.py | 8 +- modules/openedx/browser.py | 8 +- modules/openedx/module.py | 8 +- modules/openedx/test.py | 8 +- modules/opensubtitles/__init__.py | 8 +- modules/opensubtitles/browser.py | 8 +- modules/opensubtitles/module.py | 8 +- modules/opensubtitles/pages.py | 8 +- modules/opensubtitles/test.py | 8 +- modules/orange/browser.py | 8 +- modules/orange/module.py | 8 +- modules/orange/pages/__init__.py | 8 +- modules/orange/pages/bills.py | 8 +- modules/orange/pages/login.py | 8 +- modules/orange/pages/profile.py | 8 +- modules/ouifm/__init__.py | 8 +- modules/ouifm/module.py | 8 +- modules/ouifm/test.py | 8 +- modules/ovh/__init__.py | 8 +- modules/ovh/browser.py | 8 +- modules/ovh/module.py | 8 +- modules/ovh/pages.py | 8 +- modules/pagesjaunes/__init__.py | 8 +- modules/pagesjaunes/browser.py | 8 +- modules/pagesjaunes/module.py | 8 +- modules/pagesjaunes/pages.py | 8 +- modules/pap/browser.py | 8 +- modules/pap/module.py | 8 +- modules/pap/pages.py | 8 +- modules/pap/test.py | 8 +- modules/pariskiwi/__init__.py | 8 +- modules/pariskiwi/browser.py | 8 +- modules/pariskiwi/module.py | 8 +- modules/pariskiwi/test.py | 8 +- modules/paroles2chansons/browser.py | 8 +- modules/paroles2chansons/module.py | 8 +- modules/paroles2chansons/pages.py | 8 +- modules/paroles2chansons/test.py | 8 +- modules/parolesmania/__init__.py | 8 +- modules/parolesmania/browser.py | 8 +- modules/parolesmania/module.py | 8 +- modules/parolesmania/pages.py | 8 +- modules/parolesmania/test.py | 8 +- modules/parolesmusique/browser.py | 8 +- modules/parolesmusique/module.py | 8 +- modules/parolesmusique/pages.py | 8 +- modules/parolesmusique/test.py | 8 +- modules/parolesnet/browser.py | 8 +- modules/parolesnet/module.py | 8 +- modules/parolesnet/pages.py | 8 +- modules/parolesnet/test.py | 8 +- modules/pastealacon/__init__.py | 8 +- modules/pastealacon/browser.py | 8 +- modules/pastealacon/module.py | 8 +- modules/pastealacon/test.py | 8 +- modules/pastebin/__init__.py | 8 +- modules/pastebin/browser.py | 8 +- modules/pastebin/module.py | 8 +- modules/pastebin/test.py | 8 +- modules/paypal/__init__.py | 8 +- modules/paypal/browser.py | 8 +- modules/paypal/module.py | 8 +- modules/paypal/pages.py | 8 +- modules/paypal/test.py | 8 +- modules/peertube/__init__.py | 8 +- modules/peertube/browser.py | 8 +- modules/peertube/module.py | 8 +- modules/phpbb/__init__.py | 8 +- modules/phpbb/browser.py | 8 +- modules/phpbb/module.py | 8 +- modules/phpbb/pages/forum.py | 8 +- modules/phpbb/pages/index.py | 8 +- modules/phpbb/test.py | 8 +- modules/phpbb/tools.py | 8 +- modules/piratebay/browser.py | 8 +- modules/piratebay/module.py | 8 +- modules/piratebay/pages/index.py | 8 +- modules/piratebay/pages/torrents.py | 8 +- modules/piratebay/test.py | 8 +- modules/pixabay/__init__.py | 8 +- modules/pixabay/browser.py | 8 +- modules/pixabay/module.py | 8 +- modules/pixabay/pages.py | 8 +- modules/pixabay/test.py | 8 +- modules/pixtoilelibre/__init__.py | 8 +- modules/pixtoilelibre/browser.py | 8 +- modules/pixtoilelibre/module.py | 8 +- modules/pixtoilelibre/pages.py | 8 +- modules/pixtoilelibre/test.py | 8 +- modules/playme/__init__.py | 8 +- modules/playme/browser.py | 8 +- modules/playme/module.py | 8 +- modules/playme/test.py | 8 +- modules/podnapisi/__init__.py | 8 +- modules/podnapisi/browser.py | 8 +- modules/podnapisi/module.py | 8 +- modules/podnapisi/pages.py | 8 +- modules/podnapisi/test.py | 8 +- modules/poivy/__init__.py | 8 +- modules/poivy/browser.py | 8 +- modules/poivy/module.py | 8 +- modules/poivy/pages.py | 8 +- modules/poivy/test.py | 8 +- modules/popolemploi/__init__.py | 8 +- modules/popolemploi/browser.py | 8 +- modules/popolemploi/module.py | 8 +- modules/popolemploi/pages.py | 8 +- modules/popolemploi/test.py | 8 +- modules/pornhub/__init__.py | 8 +- modules/pornhub/browser.py | 8 +- modules/pornhub/module.py | 8 +- modules/pornhub/pages.py | 8 +- modules/pornhub/test.py | 8 +- modules/pradoepargne/__init__.py | 8 +- modules/pradoepargne/browser.py | 32 --- modules/pradoepargne/module.py | 41 +--- modules/pradoepargne/pages.py | 12 - modules/pradoepargne/test.py | 8 +- modules/presseurop/__init__.py | 8 +- modules/presseurop/browser.py | 8 +- modules/presseurop/module.py | 8 +- modules/presseurop/pages.py | 8 +- modules/presseurop/test.py | 8 +- modules/presseurop/tools.py | 8 +- modules/prixcarburants/browser.py | 8 +- modules/prixcarburants/module.py | 8 +- modules/prixcarburants/pages.py | 8 +- modules/prixcarburants/test.py | 8 +- modules/radiofrance/__init__.py | 8 +- modules/radiofrance/browser.py | 8 +- modules/radiofrance/module.py | 8 +- modules/radiofrance/pages.py | 8 +- modules/radiofrance/test.py | 8 +- modules/ratp/__init__.py | 8 +- modules/ratp/browser.py | 8 +- modules/ratp/module.py | 8 +- modules/ratp/pages.py | 8 +- modules/ratp/test.py | 8 +- modules/razibus/__init__.py | 8 +- modules/razibus/browser.py | 8 +- modules/razibus/calendar.py | 8 +- modules/razibus/module.py | 8 +- modules/razibus/pages.py | 8 +- modules/razibus/test.py | 8 +- modules/reddit/__init__.py | 8 +- modules/reddit/browser.py | 8 +- modules/reddit/module.py | 8 +- modules/reddit/pages.py | 8 +- modules/reddit/test.py | 8 +- modules/redmine/__init__.py | 8 +- modules/redmine/browser.py | 8 +- modules/redmine/module.py | 8 +- modules/redmine/pages/index.py | 8 +- modules/redmine/pages/issues.py | 8 +- modules/redmine/pages/wiki.py | 8 +- modules/regionsjob/__init__.py | 8 +- modules/regionsjob/browser.py | 8 +- modules/regionsjob/module.py | 8 +- modules/regionsjob/pages.py | 8 +- modules/regionsjob/test.py | 8 +- modules/relaiscolis/__init__.py | 8 +- modules/relaiscolis/browser.py | 8 +- modules/relaiscolis/module.py | 8 +- modules/residentadvisor/__init__.py | 8 +- modules/residentadvisor/browser.py | 8 +- modules/residentadvisor/module.py | 8 +- modules/residentadvisor/pages.py | 8 +- modules/residentadvisor/test.py | 8 +- modules/rmll/__init__.py | 8 +- modules/rmll/browser.py | 8 +- modules/rmll/module.py | 8 +- modules/rmll/pages.py | 8 +- modules/rmll/test.py | 8 +- modules/rmll/video.py | 8 +- modules/s2e/__init__.py | 8 +- modules/s2e/browser.py | 8 +- modules/s2e/module.py | 8 +- modules/s2e/pages.py | 8 +- modules/s2e/test.py | 8 +- modules/sachsen/__init__.py | 8 +- modules/sachsen/browser.py | 8 +- modules/sachsen/module.py | 8 +- modules/sachsen/pages.py | 8 +- modules/sachsen/test.py | 8 +- modules/seloger/browser.py | 8 +- modules/seloger/module.py | 8 +- modules/seloger/pages.py | 8 +- modules/seloger/test.py | 8 +- modules/senscritique/__init__.py | 8 +- modules/senscritique/browser.py | 8 +- modules/senscritique/calendar.py | 8 +- modules/senscritique/module.py | 8 +- modules/senscritique/pages.py | 8 +- modules/senscritique/test.py | 8 +- modules/societegenerale/__init__.py | 8 +- modules/societegenerale/browser.py | 8 +- modules/societegenerale/captcha.py | 8 +- modules/societegenerale/module.py | 8 +- .../societegenerale/pages/accounts_list.py | 12 +- modules/societegenerale/pages/base.py | 8 +- modules/societegenerale/pages/login.py | 8 +- modules/societegenerale/pages/subscription.py | 16 +- modules/societegenerale/pages/transfer.py | 10 +- modules/societegenerale/sgpe/browser.py | 106 +++------ modules/societegenerale/sgpe/json_pages.py | 14 +- modules/societegenerale/sgpe/pages.py | 8 +- .../societegenerale/sgpe/transfer_pages.py | 8 +- modules/societegenerale/test.py | 8 +- modules/somafm/__init__.py | 8 +- modules/somafm/browser.py | 8 +- modules/somafm/module.py | 8 +- modules/somafm/test.py | 8 +- modules/spirica/__init__.py | 8 +- modules/spirica/browser.py | 8 +- modules/spirica/module.py | 8 +- modules/spirica/pages.py | 8 +- modules/spirica/test.py | 8 +- modules/sprunge/__init__.py | 8 +- modules/sprunge/browser.py | 8 +- modules/sprunge/module.py | 8 +- modules/sprunge/test.py | 8 +- modules/sueurdemetal/__init__.py | 8 +- modules/sueurdemetal/browser.py | 8 +- modules/sueurdemetal/module.py | 8 +- modules/sueurdemetal/pages.py | 8 +- modules/sueurdemetal/test.py | 8 +- modules/supertoinette/__init__.py | 8 +- modules/supertoinette/browser.py | 8 +- modules/supertoinette/module.py | 8 +- modules/supertoinette/pages.py | 8 +- modules/supertoinette/test.py | 8 +- modules/suravenir/__init__.py | 8 +- modules/suravenir/browser.py | 8 +- modules/suravenir/module.py | 8 +- modules/suravenir/pages.py | 8 +- modules/suravenir/test.py | 8 +- modules/t411/browser.py | 8 +- modules/t411/module.py | 8 +- modules/t411/pages/index.py | 8 +- modules/t411/pages/torrents.py | 8 +- modules/t411/test.py | 8 +- modules/tapatalk/__init__.py | 8 +- modules/tapatalk/module.py | 8 +- modules/taz/__init__.py | 8 +- modules/taz/browser.py | 8 +- modules/taz/module.py | 8 +- modules/taz/pages.py | 8 +- modules/taz/test.py | 8 +- modules/taz/tools.py | 8 +- modules/tinder/__init__.py | 8 +- modules/tinder/browser.py | 8 +- modules/tinder/module.py | 8 +- modules/tinder/test.py | 8 +- modules/trainline/__init__.py | 8 +- modules/trainline/browser.py | 8 +- modules/trainline/module.py | 8 +- modules/trainline/test.py | 8 +- modules/transilien/__init__.py | 8 +- modules/transilien/browser.py | 8 +- modules/transilien/module.py | 8 +- modules/transilien/pages.py | 8 +- modules/transilien/test.py | 8 +- modules/tumblr/__init__.py | 8 +- modules/tumblr/browser.py | 8 +- modules/tumblr/module.py | 8 +- modules/tumblr/test.py | 8 +- modules/tvsubtitles/__init__.py | 8 +- modules/tvsubtitles/browser.py | 8 +- modules/tvsubtitles/module.py | 8 +- modules/tvsubtitles/pages.py | 8 +- modules/tvsubtitles/test.py | 8 +- modules/twitter/__init__.py | 8 +- modules/twitter/browser.py | 8 +- modules/twitter/module.py | 8 +- modules/twitter/pages.py | 8 +- modules/twitter/test.py | 8 +- modules/vicsec/__init__.py | 8 +- modules/vicsec/browser.py | 8 +- modules/vicsec/module.py | 8 +- modules/vicsec/test.py | 8 +- modules/vicseccard/__init__.py | 8 +- modules/vicseccard/browser.py | 8 +- modules/vicseccard/module.py | 8 +- modules/vicseccard/test.py | 8 +- modules/vimeo/browser.py | 8 +- modules/vimeo/module.py | 8 +- modules/vimeo/pages.py | 8 +- modules/vimeo/test.py | 8 +- modules/vine/__init__.py | 8 +- modules/vine/browser.py | 8 +- modules/vine/module.py | 8 +- modules/vine/pages.py | 8 +- modules/vine/test.py | 8 +- modules/virginradio/__init__.py | 8 +- modules/virginradio/module.py | 8 +- modules/virginradio/test.py | 8 +- modules/vlille/__init__.py | 8 +- modules/vlille/browser.py | 8 +- modules/vlille/module.py | 8 +- modules/vlille/pages.py | 8 +- modules/vlille/test.py | 8 +- modules/weather/__init__.py | 8 +- modules/weather/browser.py | 8 +- modules/weather/module.py | 8 +- modules/weather/pages.py | 8 +- modules/weather/test.py | 8 +- modules/wellsfargo/__init__.py | 8 +- modules/wellsfargo/browser.py | 8 +- modules/wellsfargo/module.py | 8 +- modules/wellsfargo/pages.py | 8 +- modules/wellsfargo/parsers.py | 8 +- modules/wellsfargo/test.py | 8 +- modules/wordreference/__init__.py | 8 +- modules/wordreference/browser.py | 8 +- modules/wordreference/module.py | 8 +- modules/wordreference/pages.py | 8 +- modules/wordreference/test.py | 8 +- modules/xhamster/__init__.py | 8 +- modules/xhamster/browser.py | 8 +- modules/xhamster/module.py | 8 +- modules/xhamster/pages.py | 8 +- modules/xhamster/test.py | 8 +- modules/yahoo/__init__.py | 8 +- modules/yahoo/browser.py | 8 +- modules/yahoo/module.py | 8 +- modules/yahoo/pages.py | 8 +- modules/yahoo/test.py | 8 +- modules/yggtorrent/browser.py | 8 +- modules/yggtorrent/module.py | 8 +- modules/yggtorrent/pages/index.py | 8 +- modules/yggtorrent/pages/torrents.py | 8 +- modules/yggtorrent/test.py | 8 +- modules/yomoni/__init__.py | 8 +- modules/yomoni/browser.py | 8 +- modules/yomoni/module.py | 8 +- modules/youjizz/__init__.py | 8 +- modules/youjizz/browser.py | 8 +- modules/youjizz/module.py | 8 +- modules/youjizz/pages/index.py | 8 +- modules/youjizz/pages/video.py | 8 +- modules/youjizz/test.py | 8 +- modules/youporn/browser.py | 8 +- modules/youporn/module.py | 8 +- modules/youporn/pages/index.py | 8 +- modules/youporn/pages/video.py | 8 +- modules/youporn/test.py | 8 +- modules/youporn/video.py | 8 +- modules/youtube/__init__.py | 8 +- modules/youtube/module.py | 8 +- modules/youtube/test.py | 8 +- modules/youtube/video.py | 8 +- modules/zerobin/__init__.py | 8 +- modules/zerobin/browser.py | 8 +- modules/zerobin/crypto.py | 8 +- modules/zerobin/module.py | 8 +- modules/zerobin/pages.py | 8 +- modules/zerobin/test.py | 8 +- 1186 files changed, 6165 insertions(+), 5169 deletions(-) create mode 100644 modules/cmso/par/transfer_pages.py create mode 100644 modules/cragr/api/netfinca_browser.py create mode 100644 modules/nef/__init__.py create mode 100644 modules/nef/browser.py create mode 100644 modules/nef/favicon.png create mode 100644 modules/nef/favicon.svg create mode 100644 modules/nef/module.py create mode 100644 modules/nef/pages.py create mode 100644 modules/nef/test.py create mode 100644 modules/nef/transaction.py create mode 100644 modules/netfinca/__init__.py create mode 100644 modules/netfinca/browser.py create mode 100644 modules/netfinca/module.py create mode 100644 modules/netfinca/pages.py delete mode 100644 modules/pradoepargne/browser.py delete mode 100644 modules/pradoepargne/pages.py diff --git a/README.md b/README.md index 52014c4f4..2b28cb3a1 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Installation is described on [the website](http://weboob.org) or in the ## License -Weboob is written in Python and is distributed under the AGPLv3+ license. +Weboob is written in Python and is distributed under the LGPLv3+ license. ## Documentation diff --git a/modules/750g/__init__.py b/modules/750g/__init__.py index d3aadb1dc..733e0b394 100644 --- a/modules/750g/__init__.py +++ b/modules/750g/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SevenFiftyGramsModule diff --git a/modules/750g/browser.py b/modules/750g/browser.py index 007c6290c..2bc558620 100644 --- a/modules/750g/browser.py +++ b/modules/750g/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound from weboob.browser import PagesBrowser, URL diff --git a/modules/750g/module.py b/modules/750g/module.py index 7488b04bd..86427a1b1 100644 --- a/modules/750g/module.py +++ b/modules/750g/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import CapRecipe, Recipe from weboob.tools.backend import Module diff --git a/modules/750g/pages.py b/modules/750g/pages.py index 689ed5d1c..dc3a94819 100644 --- a/modules/750g/pages.py +++ b/modules/750g/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import Recipe, Comment diff --git a/modules/750g/test.py b/modules/750g/test.py index ddeef59ec..e6d7ce466 100644 --- a/modules/750g/test.py +++ b/modules/750g/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest import itertools diff --git a/modules/adecco/__init__.py b/modules/adecco/__init__.py index b38118005..b27eccc97 100644 --- a/modules/adecco/__init__.py +++ b/modules/adecco/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AdeccoModule diff --git a/modules/adecco/browser.py b/modules/adecco/browser.py index 5d0267ffd..3fafd695f 100644 --- a/modules/adecco/browser.py +++ b/modules/adecco/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.tools.compat import quote_plus diff --git a/modules/adecco/module.py b/modules/adecco/module.py index b0a426a1c..6c42c1a3d 100644 --- a/modules/adecco/module.py +++ b/modules/adecco/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/adecco/pages.py b/modules/adecco/pages.py index c9e1b9829..c93257159 100644 --- a/modules/adecco/pages.py +++ b/modules/adecco/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import requests from weboob.browser.pages import HTMLPage, pagination, JsonPage diff --git a/modules/adecco/test.py b/modules/adecco/test.py index 1f0ad05cf..f491c1e80 100644 --- a/modules/adecco/test.py +++ b/modules/adecco/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/afer/__init__.py b/modules/afer/__init__.py index 543050ec7..51fe533c1 100644 --- a/modules/afer/__init__.py +++ b/modules/afer/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AferModule diff --git a/modules/afer/browser.py b/modules/afer/browser.py index c3d7dd436..4aae357d3 100644 --- a/modules/afer/browser.py +++ b/modules/afer/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/afer/module.py b/modules/afer/module.py index 70d58c77f..2a65fa1a7 100644 --- a/modules/afer/module.py +++ b/modules/afer/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/afer/pages.py b/modules/afer/pages.py index 94b3fb40e..a46156894 100644 --- a/modules/afer/pages.py +++ b/modules/afer/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/agendaculturel/__init__.py b/modules/agendaculturel/__init__.py index 67982aa49..b75c8838d 100644 --- a/modules/agendaculturel/__init__.py +++ b/modules/agendaculturel/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AgendaculturelModule diff --git a/modules/agendaculturel/browser.py b/modules/agendaculturel/browser.py index c70dfb7e6..ae7f23b52 100644 --- a/modules/agendaculturel/browser.py +++ b/modules/agendaculturel/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/agendaculturel/calendar.py b/modules/agendaculturel/calendar.py index 40aebc17b..05cfaed6d 100644 --- a/modules/agendaculturel/calendar.py +++ b/modules/agendaculturel/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS diff --git a/modules/agendaculturel/module.py b/modules/agendaculturel/module.py index 1918012c7..207849a5d 100644 --- a/modules/agendaculturel/module.py +++ b/modules/agendaculturel/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/agendaculturel/pages.py b/modules/agendaculturel/pages.py index ee79f5a73..4da6855eb 100644 --- a/modules/agendaculturel/pages.py +++ b/modules/agendaculturel/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/agendaculturel/test.py b/modules/agendaculturel/test.py index 36ab0fbac..e3947313c 100644 --- a/modules/agendaculturel/test.py +++ b/modules/agendaculturel/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/agendadulibre/__init__.py b/modules/agendadulibre/__init__.py index 0a26000c0..acbc25aa5 100644 --- a/modules/agendadulibre/__init__.py +++ b/modules/agendadulibre/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AgendadulibreModule diff --git a/modules/agendadulibre/browser.py b/modules/agendadulibre/browser.py index 9f44eb72b..b626a66f5 100644 --- a/modules/agendadulibre/browser.py +++ b/modules/agendadulibre/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/agendadulibre/calendar.py b/modules/agendadulibre/calendar.py index a80dfb698..813b61d12 100644 --- a/modules/agendadulibre/calendar.py +++ b/modules/agendadulibre/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS, CATEGORIES diff --git a/modules/agendadulibre/module.py b/modules/agendadulibre/module.py index 5210ba989..932777eb7 100644 --- a/modules/agendadulibre/module.py +++ b/modules/agendadulibre/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/agendadulibre/pages.py b/modules/agendadulibre/pages.py index 5cb538122..f5a1f170d 100644 --- a/modules/agendadulibre/pages.py +++ b/modules/agendadulibre/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/agendadulibre/test.py b/modules/agendadulibre/test.py index 26100606c..24c68322a 100644 --- a/modules/agendadulibre/test.py +++ b/modules/agendadulibre/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/allocine/__init__.py b/modules/allocine/__init__.py index 5b94e8651..064d44f71 100644 --- a/modules/allocine/__init__.py +++ b/modules/allocine/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AllocineModule diff --git a/modules/allocine/browser.py b/modules/allocine/browser.py index 47895acb0..e785277d2 100644 --- a/modules/allocine/browser.py +++ b/modules/allocine/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import base64 import hashlib diff --git a/modules/allocine/module.py b/modules/allocine/module.py index 5f133beb0..e652a12e6 100644 --- a/modules/allocine/module.py +++ b/modules/allocine/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.capabilities.base import UserError diff --git a/modules/allocine/test.py b/modules/allocine/test.py index 57564292e..256b9a873 100644 --- a/modules/allocine/test.py +++ b/modules/allocine/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.video import BaseVideo diff --git a/modules/allrecipes/__init__.py b/modules/allrecipes/__init__.py index 033e2768f..a9a6ad6ba 100644 --- a/modules/allrecipes/__init__.py +++ b/modules/allrecipes/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AllrecipesModule diff --git a/modules/allrecipes/browser.py b/modules/allrecipes/browser.py index 92f070c88..926f3bb55 100644 --- a/modules/allrecipes/browser.py +++ b/modules/allrecipes/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import ResultsPage, RecipePage, HomePage diff --git a/modules/allrecipes/module.py b/modules/allrecipes/module.py index 330b9ae45..c749f0b9a 100644 --- a/modules/allrecipes/module.py +++ b/modules/allrecipes/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import CapRecipe, Recipe from weboob.tools.backend import Module diff --git a/modules/allrecipes/pages.py b/modules/allrecipes/pages.py index b1c0679b8..51d9c8f49 100644 --- a/modules/allrecipes/pages.py +++ b/modules/allrecipes/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, JsonPage, pagination diff --git a/modules/allrecipes/test.py b/modules/allrecipes/test.py index fc04c144e..89fd827bc 100644 --- a/modules/allrecipes/test.py +++ b/modules/allrecipes/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/amazon/__init__.py b/modules/amazon/__init__.py index 7916c69b8..bffa3067d 100644 --- a/modules/amazon/__init__.py +++ b/modules/amazon/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/amazon/browser.py b/modules/amazon/browser.py index a48bfa368..952018bcc 100644 --- a/modules/amazon/browser.py +++ b/modules/amazon/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from datetime import date diff --git a/modules/amazon/de/browser.py b/modules/amazon/de/browser.py index 80cf41829..68869a187 100644 --- a/modules/amazon/de/browser.py +++ b/modules/amazon/de/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/amazon/en/browser.py b/modules/amazon/en/browser.py index aa32947fe..19c928642 100644 --- a/modules/amazon/en/browser.py +++ b/modules/amazon/en/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/amazon/module.py b/modules/amazon/module.py index c6f3065cf..8713b76f2 100644 --- a/modules/amazon/module.py +++ b/modules/amazon/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from collections import OrderedDict diff --git a/modules/amazon/pages.py b/modules/amazon/pages.py index 2034e4572..49cd2856e 100644 --- a/modules/amazon/pages.py +++ b/modules/amazon/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/amazon/test.py b/modules/amazon/test.py index 76711e8bf..d4c04d541 100644 --- a/modules/amazon/test.py +++ b/modules/amazon/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/amazon/uk/browser.py b/modules/amazon/uk/browser.py index 88cb8dc52..0cb4b7ff2 100644 --- a/modules/amazon/uk/browser.py +++ b/modules/amazon/uk/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/amazonstorecard/__init__.py b/modules/amazonstorecard/__init__.py index 3754cbca9..968e507ce 100644 --- a/modules/amazonstorecard/__init__.py +++ b/modules/amazonstorecard/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014-2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AmazonStoreCardModule diff --git a/modules/amazonstorecard/browser.py b/modules/amazonstorecard/browser.py index 620242e58..e2ceb7281 100644 --- a/modules/amazonstorecard/browser.py +++ b/modules/amazonstorecard/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014-2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import json diff --git a/modules/amazonstorecard/module.py b/modules/amazonstorecard/module.py index 82551f377..f76ef1144 100644 --- a/modules/amazonstorecard/module.py +++ b/modules/amazonstorecard/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014-2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank diff --git a/modules/amazonstorecard/pages.py b/modules/amazonstorecard/pages.py index 17f9aa792..403b92b9b 100644 --- a/modules/amazonstorecard/pages.py +++ b/modules/amazonstorecard/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014-2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import Account, Transaction from weboob.browser.exceptions import ServerError diff --git a/modules/amazonstorecard/test.py b/modules/amazonstorecard/test.py index 33f5f8966..08955d58d 100644 --- a/modules/amazonstorecard/test.py +++ b/modules/amazonstorecard/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014-2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from itertools import chain diff --git a/modules/ameli/__init__.py b/modules/ameli/__init__.py index c679cf0a7..7e647021f 100644 --- a/modules/ameli/__init__.py +++ b/modules/ameli/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AmeliModule diff --git a/modules/ameli/browser.py b/modules/ameli/browser.py index 715c6b888..a1106562b 100644 --- a/modules/ameli/browser.py +++ b/modules/ameli/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ameli/module.py b/modules/ameli/module.py index 8002d9be7..c50ae6960 100644 --- a/modules/ameli/module.py +++ b/modules/ameli/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ameli/pages.py b/modules/ameli/pages.py index 245d697cc..2a91cfee5 100644 --- a/modules/ameli/pages.py +++ b/modules/ameli/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ameli/test.py b/modules/ameli/test.py index 380438113..ea6d09d7d 100644 --- a/modules/ameli/test.py +++ b/modules/ameli/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/amelipro/__init__.py b/modules/amelipro/__init__.py index e847285b6..666996a39 100644 --- a/modules/amelipro/__init__.py +++ b/modules/amelipro/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AmeliProModule diff --git a/modules/amelipro/browser.py b/modules/amelipro/browser.py index 5c1fa471e..bb2912ae7 100644 --- a/modules/amelipro/browser.py +++ b/modules/amelipro/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login from weboob.exceptions import BrowserIncorrectPassword diff --git a/modules/amelipro/module.py b/modules/amelipro/module.py index d3d632523..e21c53a33 100644 --- a/modules/amelipro/module.py +++ b/modules/amelipro/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, SubscriptionNotFound, DocumentNotFound, Subscription, Bill from weboob.tools.backend import Module, BackendConfig diff --git a/modules/amelipro/pages.py b/modules/amelipro/pages.py index d1d2f4e89..7f84eebcb 100644 --- a/modules/amelipro/pages.py +++ b/modules/amelipro/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/amelipro/test.py b/modules/amelipro/test.py index f6f4b204b..a0ad8f55c 100644 --- a/modules/amelipro/test.py +++ b/modules/amelipro/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/americanexpress/__init__.py b/modules/americanexpress/__init__.py index 580ff1d95..5525aa4de 100644 --- a/modules/americanexpress/__init__.py +++ b/modules/americanexpress/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AmericanExpressModule diff --git a/modules/americanexpress/browser.py b/modules/americanexpress/browser.py index df807514f..7278fcc1f 100644 --- a/modules/americanexpress/browser.py +++ b/modules/americanexpress/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime @@ -51,7 +51,8 @@ class AmericanExpressBrowser(LoginBrowser): js_periods = URL(r'/account-data/v1/financials/statement_periods', JsonPeriods) currency_page = URL(r'https://www.aexp-static.com/cdaas/axp-app/modules/axp-offers/1.11.1/fr-fr/axp-offers.json', CurrencyPage) - no_card = URL('https://www.americanexpress.com/us/content/no-card/', NoCardPage) + no_card = URL('https://www.americanexpress.com/us/content/no-card/', + 'https://www.americanexpress.com/us/no-card/', NoCardPage) not_found = URL(r'/accounts/error', NotFoundPage) diff --git a/modules/americanexpress/module.py b/modules/americanexpress/module.py index e93a36f20..e5a5afc94 100644 --- a/modules/americanexpress/module.py +++ b/modules/americanexpress/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank, AccountNotFound diff --git a/modules/americanexpress/pages.py b/modules/americanexpress/pages.py index be558e4de..f910a02e7 100644 --- a/modules/americanexpress/pages.py +++ b/modules/americanexpress/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/americanexpress/test.py b/modules/americanexpress/test.py index 77a38a6a6..494cd1134 100644 --- a/modules/americanexpress/test.py +++ b/modules/americanexpress/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/amundi/__init__.py b/modules/amundi/__init__.py index aac89f11a..33f88a9c5 100644 --- a/modules/amundi/__init__.py +++ b/modules/amundi/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AmundiModule diff --git a/modules/amundi/browser.py b/modules/amundi/browser.py index a10dac38f..73ad244ff 100644 --- a/modules/amundi/browser.py +++ b/modules/amundi/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import LoginPage, AccountsPage, AccountHistoryPage from weboob.browser import URL, LoginBrowser, need_login @@ -50,7 +50,7 @@ class AmundiBrowser(LoginBrowser): .iter_accounts()) @need_login - def iter_investments(self, account): + def iter_investment(self, account): return (self.accounts.go(headers={'X-noee-authorization': ('noeprd %s' % self.token)}) .iter_investments(account_id=account.id)) diff --git a/modules/amundi/module.py b/modules/amundi/module.py index d47a774c6..22e2f2d8f 100644 --- a/modules/amundi/module.py +++ b/modules/amundi/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth, AccountNotFound @@ -53,7 +53,7 @@ class AmundiModule(Module, CapBankWealth): return self.browser.iter_accounts() def iter_investment(self, account): - for inv in self.browser.iter_investments(account): + for inv in self.browser.iter_investment(account): if inv.valuation != 0: yield inv diff --git a/modules/amundi/pages.py b/modules/amundi/pages.py index 2424af2e7..2d575d85d 100644 --- a/modules/amundi/pages.py +++ b/modules/amundi/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 James GALT # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/anticaptcha/__init__.py b/modules/anticaptcha/__init__.py index 806f8da1f..662c17616 100644 --- a/modules/anticaptcha/__init__.py +++ b/modules/anticaptcha/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/anticaptcha/browser.py b/modules/anticaptcha/browser.py index 5a351842f..ce8c8a238 100644 --- a/modules/anticaptcha/browser.py +++ b/modules/anticaptcha/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -24,7 +24,7 @@ from base64 import b64encode from weboob.browser.browsers import APIBrowser from weboob.exceptions import BrowserIncorrectPassword, BrowserBanned from weboob.capabilities.captcha import ( - ImageCaptchaJob, RecaptchaJob, NocaptchaJob, CaptchaError, + ImageCaptchaJob, RecaptchaJob, NocaptchaJob, FuncaptchaJob, CaptchaError, InsufficientFunds, UnsolvableCaptcha, InvalidCaptcha, ) @@ -74,6 +74,21 @@ class AnticaptchaBrowser(APIBrowser): r = self.request('/createTask', data=data) return str(r['taskId']) + def post_funcaptcha(self, url, key, sub_domain): + data = { + "clientKey": self.apikey, + "task": { + "type": "FunCaptchaTaskProxyless", + "websiteURL": url, + "funcaptchaApiJSSubdomain": sub_domain, + "websitePublicKey": key, + }, + "softId": 0, + "languagePool": "en", + } + r = self.request('/createTask', data=data) + return str(r['taskId']) + def check_reply(self, r): excs = { 'ERROR_KEY_DOES_NOT_EXIST': BrowserIncorrectPassword, @@ -115,6 +130,8 @@ class AnticaptchaBrowser(APIBrowser): job.solution_challenge = sol['recaptchaChallenge'] elif isinstance(job, NocaptchaJob): job.solution = sol['gRecaptchaResponse'] + elif isinstance(job, FuncaptchaJob): + job.solution = sol['token'] else: raise NotImplementedError() diff --git a/modules/anticaptcha/module.py b/modules/anticaptcha/module.py index bc22a57b8..76e0ab0fa 100644 --- a/modules/anticaptcha/module.py +++ b/modules/anticaptcha/module.py @@ -2,26 +2,26 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from weboob.tools.backend import Module, BackendConfig -from weboob.capabilities.captcha import CapCaptchaSolver, ImageCaptchaJob, RecaptchaJob, NocaptchaJob +from weboob.capabilities.captcha import CapCaptchaSolver, ImageCaptchaJob, RecaptchaJob, NocaptchaJob, FuncaptchaJob from weboob.tools.value import ValueBackendPassword from .browser import AnticaptchaBrowser @@ -55,6 +55,8 @@ class AnticaptchaModule(Module, CapCaptchaSolver): job.id = self.browser.post_recaptcha(job.site_url, job.site_key) elif isinstance(job, NocaptchaJob): job.id = self.browser.post_nocaptcha(job.site_url, job.site_key) + elif isinstance(job, FuncaptchaJob): + job.id = self.browser.post_funcaptcha(job.site_url, job.site_key, job.sub_domain) else: raise NotImplementedError() diff --git a/modules/anticaptcha/test.py b/modules/anticaptcha/test.py index dd1f1bfc2..9c818529c 100644 --- a/modules/anticaptcha/test.py +++ b/modules/anticaptcha/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/apec/__init__.py b/modules/apec/__init__.py index d6f9b9634..b44eb8aa5 100644 --- a/modules/apec/__init__.py +++ b/modules/apec/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ApecModule diff --git a/modules/apec/browser.py b/modules/apec/browser.py index 8370b2fb6..2d6a84da6 100644 --- a/modules/apec/browser.py +++ b/modules/apec/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.profiles import Profile from weboob.browser import PagesBrowser, URL diff --git a/modules/apec/job.py b/modules/apec/job.py index 74e2caec4..a0a61d43f 100644 --- a/modules/apec/job.py +++ b/modules/apec/job.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . APEC_CONTRATS = { ' ': u'-- Indifférent --', diff --git a/modules/apec/module.py b/modules/apec/module.py index d367d21ff..d87430ec8 100644 --- a/modules/apec/module.py +++ b/modules/apec/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/apec/pages.py b/modules/apec/pages.py index 688c2e80d..455b7e03b 100644 --- a/modules/apec/pages.py +++ b/modules/apec/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import requests from .job import APEC_CONTRATS, APEC_EXPERIENCE diff --git a/modules/apec/test.py b/modules/apec/test.py index 7cfdc92d4..63f276fca 100644 --- a/modules/apec/test.py +++ b/modules/apec/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/apivie/__init__.py b/modules/apivie/__init__.py index c471b52e3..555950792 100644 --- a/modules/apivie/__init__.py +++ b/modules/apivie/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ApivieModule diff --git a/modules/apivie/browser.py b/modules/apivie/browser.py index 753da9260..5196ac56c 100644 --- a/modules/apivie/browser.py +++ b/modules/apivie/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/apivie/module.py b/modules/apivie/module.py index b0d91e473..4c11d9efb 100644 --- a/modules/apivie/module.py +++ b/modules/apivie/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth from weboob.tools.backend import Module, BackendConfig diff --git a/modules/apivie/pages.py b/modules/apivie/pages.py index 5e3e2ed51..2e25b9423 100644 --- a/modules/apivie/pages.py +++ b/modules/apivie/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal diff --git a/modules/apivie/test.py b/modules/apivie/test.py index ce03e70ca..7550dd3dc 100644 --- a/modules/apivie/test.py +++ b/modules/apivie/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/arte/__init__.py b/modules/arte/__init__.py index 2a2e0b6c4..c1c6a02c1 100644 --- a/modules/arte/__init__.py +++ b/modules/arte/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ArteModule diff --git a/modules/arte/browser.py b/modules/arte/browser.py index 4aec8837d..58523513e 100644 --- a/modules/arte/browser.py +++ b/modules/arte/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.collection import Collection from weboob.capabilities.base import UserError diff --git a/modules/arte/module.py b/modules/arte/module.py index 49d593a74..78a83d32c 100644 --- a/modules/arte/module.py +++ b/modules/arte/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/arte/pages.py b/modules/arte/pages.py index d41600785..87002d4cb 100644 --- a/modules/arte/pages.py +++ b/modules/arte/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import timedelta diff --git a/modules/arte/test.py b/modules/arte/test.py index 408c94415..16c8156f8 100644 --- a/modules/arte/test.py +++ b/modules/arte/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import itertools diff --git a/modules/arte/video.py b/modules/arte/video.py index b576ad571..75f398a59 100644 --- a/modules/arte/video.py +++ b/modules/arte/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . def enum(**enums): diff --git a/modules/asana/__init__.py b/modules/asana/__init__.py index 80aafb858..c1342f2ee 100644 --- a/modules/asana/__init__.py +++ b/modules/asana/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/asana/browser.py b/modules/asana/browser.py index d5c1ea228..9609f7a65 100644 --- a/modules/asana/browser.py +++ b/modules/asana/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/asana/module.py b/modules/asana/module.py index ab4bd04b7..f2166303b 100644 --- a/modules/asana/module.py +++ b/modules/asana/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/asana/test.py b/modules/asana/test.py index f35db7b7e..fbe398f75 100644 --- a/modules/asana/test.py +++ b/modules/asana/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/audioaddict/__init__.py b/modules/audioaddict/__init__.py index 3d2e9e064..85a8c228d 100644 --- a/modules/audioaddict/__init__.py +++ b/modules/audioaddict/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Pierre Mazière # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AudioAddictModule diff --git a/modules/audioaddict/module.py b/modules/audioaddict/module.py index 54cee2b44..3cfa1f990 100644 --- a/modules/audioaddict/module.py +++ b/modules/audioaddict/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Pierre Mazière # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/audioaddict/test.py b/modules/audioaddict/test.py index f0f672ef2..4e7a3f832 100644 --- a/modules/audioaddict/test.py +++ b/modules/audioaddict/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Pierre Mazière # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/aum/__init__.py b/modules/aum/__init__.py index 5d604dc24..308ee0d9c 100644 --- a/modules/aum/__init__.py +++ b/modules/aum/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .browser import AuMBrowser diff --git a/modules/aum/antispam.py b/modules/aum/antispam.py index 4382a5c5d..96ca33e42 100644 --- a/modules/aum/antispam.py +++ b/modules/aum/antispam.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/aum/browser.py b/modules/aum/browser.py index a3f1c1b02..4869c5dd0 100644 --- a/modules/aum/browser.py +++ b/modules/aum/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2008-2011 Romain Bignon, Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64encode diff --git a/modules/aum/contact.py b/modules/aum/contact.py index 98db46484..f6fa4de78 100644 --- a/modules/aum/contact.py +++ b/modules/aum/contact.py @@ -2,20 +2,20 @@ # Copyright(C) 2008-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from html2text import unescape diff --git a/modules/aum/module.py b/modules/aum/module.py index 8c11df13f..9a2136dac 100644 --- a/modules/aum/module.py +++ b/modules/aum/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import time diff --git a/modules/aum/optim/profiles_walker.py b/modules/aum/optim/profiles_walker.py index bcc27e9fb..8563ce22e 100644 --- a/modules/aum/optim/profiles_walker.py +++ b/modules/aum/optim/profiles_walker.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon, Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from random import randint diff --git a/modules/aum/optim/queries_queue.py b/modules/aum/optim/queries_queue.py index 48ea351d1..c538e536a 100644 --- a/modules/aum/optim/queries_queue.py +++ b/modules/aum/optim/queries_queue.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.exceptions import BrowserUnavailable diff --git a/modules/aum/optim/visibility.py b/modules/aum/optim/visibility.py index 8b80f7f79..7197fbe14 100644 --- a/modules/aum/optim/visibility.py +++ b/modules/aum/optim/visibility.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.exceptions import BrowserUnavailable diff --git a/modules/aum/test.py b/modules/aum/test.py index c70116b1d..cbd9170cf 100644 --- a/modules/aum/test.py +++ b/modules/aum/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/avendrealouer/__init__.py b/modules/avendrealouer/__init__.py index 11726874d..c5c025a70 100644 --- a/modules/avendrealouer/__init__.py +++ b/modules/avendrealouer/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 ZeHiro # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/avendrealouer/browser.py b/modules/avendrealouer/browser.py index 47c2cfe90..70956b52e 100644 --- a/modules/avendrealouer/browser.py +++ b/modules/avendrealouer/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 ZeHiro # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/avendrealouer/module.py b/modules/avendrealouer/module.py index 983b63bcc..e9dff7ea4 100644 --- a/modules/avendrealouer/module.py +++ b/modules/avendrealouer/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 ZeHiro # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/avendrealouer/pages.py b/modules/avendrealouer/pages.py index 5df052b8b..c1d82a817 100644 --- a/modules/avendrealouer/pages.py +++ b/modules/avendrealouer/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 ZeHiro # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/avendrealouer/test.py b/modules/avendrealouer/test.py index 4e22c4c42..7e965838d 100644 --- a/modules/avendrealouer/test.py +++ b/modules/avendrealouer/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 ZeHiro # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/axabanque/__init__.py b/modules/axabanque/__init__.py index 523781e97..0efd2f606 100644 --- a/modules/axabanque/__init__.py +++ b/modules/axabanque/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import AXABanqueModule diff --git a/modules/axabanque/browser.py b/modules/axabanque/browser.py index 15762079c..a262437cc 100644 --- a/modules/axabanque/browser.py +++ b/modules/axabanque/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/axabanque/module.py b/modules/axabanque/module.py index 9173f5363..f351a6d2f 100644 --- a/modules/axabanque/module.py +++ b/modules/axabanque/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth, CapBankTransferAddRecipient, AccountNotFound, RecipientNotFound diff --git a/modules/axabanque/pages/bank.py b/modules/axabanque/pages/bank.py index 0644fc905..fbe811947 100644 --- a/modules/axabanque/pages/bank.py +++ b/modules/axabanque/pages/bank.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict import re diff --git a/modules/axabanque/pages/document.py b/modules/axabanque/pages/document.py index e8b8d868a..e2d441005 100644 --- a/modules/axabanque/pages/document.py +++ b/modules/axabanque/pages/document.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, LoggedPage from weboob.browser.filters.standard import CleanText, Env, Regexp, Format diff --git a/modules/axabanque/pages/login.py b/modules/axabanque/pages/login.py index 20b738443..3fb5b4de8 100644 --- a/modules/axabanque/pages/login.py +++ b/modules/axabanque/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from io import BytesIO diff --git a/modules/axabanque/pages/transfer.py b/modules/axabanque/pages/transfer.py index b90621e94..4678c0166 100644 --- a/modules/axabanque/pages/transfer.py +++ b/modules/axabanque/pages/transfer.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Sylvie Ye # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/axabanque/pages/wealth.py b/modules/axabanque/pages/wealth.py index 8fee376aa..39b03b724 100644 --- a/modules/axabanque/pages/wealth.py +++ b/modules/axabanque/pages/wealth.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/axabanque/test.py b/modules/axabanque/test.py index deb00e363..c53848d1b 100644 --- a/modules/axabanque/test.py +++ b/modules/axabanque/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/bandcamp/__init__.py b/modules/bandcamp/__init__.py index 4a4d546a5..39eb9b556 100644 --- a/modules/bandcamp/__init__.py +++ b/modules/bandcamp/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bandcamp/browser.py b/modules/bandcamp/browser.py index e00300b3c..0a27505f2 100644 --- a/modules/bandcamp/browser.py +++ b/modules/bandcamp/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bandcamp/module.py b/modules/bandcamp/module.py index 007e5e801..17efc580e 100644 --- a/modules/bandcamp/module.py +++ b/modules/bandcamp/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bandcamp/pages.py b/modules/bandcamp/pages.py index 8c9b632be..5e3332c10 100644 --- a/modules/bandcamp/pages.py +++ b/modules/bandcamp/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bandcamp/test.py b/modules/bandcamp/test.py index cf70f66ca..ca86386a7 100644 --- a/modules/bandcamp/test.py +++ b/modules/bandcamp/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/banqueaccord/__init__.py b/modules/banqueaccord/__init__.py index 733934b2f..3bbb7e475 100644 --- a/modules/banqueaccord/__init__.py +++ b/modules/banqueaccord/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BanqueAccordModule diff --git a/modules/banqueaccord/module.py b/modules/banqueaccord/module.py index 17a30b612..e8bbcc998 100644 --- a/modules/banqueaccord/module.py +++ b/modules/banqueaccord/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank diff --git a/modules/banquepopulaire/__init__.py b/modules/banquepopulaire/__init__.py index 23c8bce82..c580ac9e2 100644 --- a/modules/banquepopulaire/__init__.py +++ b/modules/banquepopulaire/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BanquePopulaireModule diff --git a/modules/banquepopulaire/browser.py b/modules/banquepopulaire/browser.py index 878ad23a2..8a43b44e8 100644 --- a/modules/banquepopulaire/browser.py +++ b/modules/banquepopulaire/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/banquepopulaire/linebourse_browser.py b/modules/banquepopulaire/linebourse_browser.py index 138738469..dc291ce96 100644 --- a/modules/banquepopulaire/linebourse_browser.py +++ b/modules/banquepopulaire/linebourse_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/banquepopulaire/module.py b/modules/banquepopulaire/module.py index b4817bbaf..368df8c6b 100644 --- a/modules/banquepopulaire/module.py +++ b/modules/banquepopulaire/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict from functools import reduce diff --git a/modules/banquepopulaire/pages.py b/modules/banquepopulaire/pages.py index cef098dba..416d0f530 100644 --- a/modules/banquepopulaire/pages.py +++ b/modules/banquepopulaire/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/banquepopulaire/test.py b/modules/banquepopulaire/test.py index 5d1489a31..bdcf6c41f 100644 --- a/modules/banquepopulaire/test.py +++ b/modules/banquepopulaire/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/barclays/__init__.py b/modules/barclays/__init__.py index e9114c12d..9021be42f 100644 --- a/modules/barclays/__init__.py +++ b/modules/barclays/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BarclaysModule diff --git a/modules/barclays/browser.py b/modules/barclays/browser.py index 71725779c..eaf08e895 100644 --- a/modules/barclays/browser.py +++ b/modules/barclays/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2017 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -131,11 +131,17 @@ class Barclays(LoginBrowser): traccounts = [] for account in accounts: - self._go_to_account(account) + if account.type == Account.TYPE_CHECKING: + # Only checking accounts have an IBAN + self._go_to_account(account) + account.iban = self.iban.open().get_iban() if self.page.has_iban() else NotAvailable + if account.type == Account.TYPE_LOAN: + self._go_to_account(account) account = self.page.get_loan_attributes(account) if account.type == Account.TYPE_CARD: + self._go_to_account(account) if self.page.is_immediate_card(): account.type = Account.TYPE_CHECKING @@ -143,19 +149,32 @@ class Barclays(LoginBrowser): continue account._attached_account = self.page.do_account_attachment([a for a in accounts if a.type == Account.TYPE_CHECKING]) + if account.type == Account.TYPE_REVOLVING_CREDIT: + self._go_to_account(account) account = self.page.get_revolving_attributes(account) - account.iban = self.iban.open().get_iban() if self.page.has_iban() else NotAvailable - traccounts.append(account) self.cache['accounts'] = traccounts + # Twin accounts are double accounts with different currencies. + # Transactions for twin accounts are all mixed and the currency + # is not specified, therefore to avoid transaction duplicates, + # we only return transactions from the 'EUR' twin account. + for account in self.cache['accounts']: + if (account.id.replace(account.currency, '') in + [acc.id.replace(acc.currency, '') for acc in self.cache['accounts'] if acc.id != account.id]): + account._twin = True + else: + account._twin = False + return self.cache['accounts'] @need_login def iter_history(self, account): + if account._twin and account.currency != 'EUR': + return [] if account._multiple_type and not self._multiple_account_choice(account): return [] elif account.type in (Account.TYPE_LOAN, Account.TYPE_REVOLVING_CREDIT): diff --git a/modules/barclays/module.py b/modules/barclays/module.py index ada1f750b..902bcb2ec 100644 --- a/modules/barclays/module.py +++ b/modules/barclays/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2017 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/barclays/pages.py b/modules/barclays/pages.py index f3e66ce09..c80287fe1 100644 --- a/modules/barclays/pages.py +++ b/modules/barclays/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2017 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -109,6 +109,7 @@ class AccountsPage(StatefulPage): 'E VIE MILLEIS': Account.TYPE_LIFE_INSURANCE, 'BANQUE PRIVILEGE': Account.TYPE_REVOLVING_CREDIT, 'PRET PERSONNEL': Account.TYPE_LOAN, + 'CREDIT IMMOBILIE': Account.TYPE_LOAN, } ACCOUNT_TYPE_TO_STR = {Account.TYPE_MARKET: 'TTR', Account.TYPE_CARD: 'CRT' @@ -470,7 +471,7 @@ class RevolvingAccountPage(AbstractAccountPage): class LoanAccountPage(AbstractAccountPage): def is_here(self): - return bool(CleanText('//span[contains(., "Détail compte")]')(self.doc)) + return bool(CleanText('//span[contains(., "prêt")]')(self.doc)) def has_iban(self): return False diff --git a/modules/barclays/test.py b/modules/barclays/test.py index 21f0f8048..d494eeb58 100644 --- a/modules/barclays/test.py +++ b/modules/barclays/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/becm/__init__.py b/modules/becm/__init__.py index f1cb92433..697951373 100644 --- a/modules/becm/__init__.py +++ b/modules/becm/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BECMModule diff --git a/modules/becm/browser.py b/modules/becm/browser.py index cb48cc435..8042c48c1 100644 --- a/modules/becm/browser.py +++ b/modules/becm/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/becm/module.py b/modules/becm/module.py index 21d532436..1e27b0555 100644 --- a/modules/becm/module.py +++ b/modules/becm/module.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankTransferAddRecipient from weboob.capabilities.contact import CapContact diff --git a/modules/becm/pages.py b/modules/becm/pages.py index 74eeb05db..9a836e811 100644 --- a/modules/becm/pages.py +++ b/modules/becm/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, LoggedPage diff --git a/modules/becm/test.py b/modules/becm/test.py index 29639af54..32e3e6883 100644 --- a/modules/becm/test.py +++ b/modules/becm/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/bforbank/__init__.py b/modules/bforbank/__init__.py index 1739544de..f7720df6c 100644 --- a/modules/bforbank/__init__.py +++ b/modules/bforbank/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BforbankModule diff --git a/modules/bforbank/browser.py b/modules/bforbank/browser.py index 376862794..ff042a15f 100644 --- a/modules/bforbank/browser.py +++ b/modules/bforbank/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime from dateutil.relativedelta import relativedelta from weboob.exceptions import BrowserIncorrectPassword diff --git a/modules/bforbank/module.py b/modules/bforbank/module.py index 18c567494..6893946e9 100644 --- a/modules/bforbank/module.py +++ b/modules/bforbank/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/bforbank/pages.py b/modules/bforbank/pages.py index 646ce970a..1087c8fd9 100644 --- a/modules/bforbank/pages.py +++ b/modules/bforbank/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bforbank/spirica_browser.py b/modules/bforbank/spirica_browser.py index e29bb2985..e581dddc1 100644 --- a/modules/bforbank/spirica_browser.py +++ b/modules/bforbank/spirica_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.browsers import AbstractBrowser diff --git a/modules/bibliothequesparis/__init__.py b/modules/bibliothequesparis/__init__.py index 0526a9774..1d266fbfd 100644 --- a/modules/bibliothequesparis/__init__.py +++ b/modules/bibliothequesparis/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bibliothequesparis/browser.py b/modules/bibliothequesparis/browser.py index a4d750d6a..3e0ca991f 100644 --- a/modules/bibliothequesparis/browser.py +++ b/modules/bibliothequesparis/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bibliothequesparis/module.py b/modules/bibliothequesparis/module.py index bef0679f1..089831cc4 100644 --- a/modules/bibliothequesparis/module.py +++ b/modules/bibliothequesparis/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bibliothequesparis/pages.py b/modules/bibliothequesparis/pages.py index 920e8044b..cce7d9b3b 100644 --- a/modules/bibliothequesparis/pages.py +++ b/modules/bibliothequesparis/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -66,7 +66,7 @@ class LoansPage(LoggedPage, JsonMixin): @method class get_loans(ListElement): - item_xpath = '//li[has-class("loan-item")]' + item_xpath = '//div[@id="loans-box"]//li[has-class("loan-item")]' class item(ItemElement): klass = Book diff --git a/modules/bibliothequesparis/test.py b/modules/bibliothequesparis/test.py index f7a983669..75ec24db8 100644 --- a/modules/bibliothequesparis/test.py +++ b/modules/bibliothequesparis/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/billetreduc/__init__.py b/modules/billetreduc/__init__.py index e1ecf7495..5841eaa08 100644 --- a/modules/billetreduc/__init__.py +++ b/modules/billetreduc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/billetreduc/browser.py b/modules/billetreduc/browser.py index 4cdd8e433..3ec198652 100644 --- a/modules/billetreduc/browser.py +++ b/modules/billetreduc/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/billetreduc/module.py b/modules/billetreduc/module.py index 45f063abd..5c4ce3bbf 100644 --- a/modules/billetreduc/module.py +++ b/modules/billetreduc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/billetreduc/pages.py b/modules/billetreduc/pages.py index 484678559..e120ad253 100644 --- a/modules/billetreduc/pages.py +++ b/modules/billetreduc/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/billetreduc/test.py b/modules/billetreduc/test.py index 9d78d09e4..4cceaeac2 100644 --- a/modules/billetreduc/test.py +++ b/modules/billetreduc/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/binck/__init__.py b/modules/binck/__init__.py index 2a0f0862c..87b48c1bc 100644 --- a/modules/binck/__init__.py +++ b/modules/binck/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BinckModule diff --git a/modules/binck/browser.py b/modules/binck/browser.py index 2eeb09a54..ec2114ea8 100644 --- a/modules/binck/browser.py +++ b/modules/binck/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -56,8 +56,10 @@ class BinckBrowser(LoginBrowser): history = URL(r'/TransactionsOverview/GetTransactions', r'/TransactionsOverview/FilteredOverview', HistoryPage) - questions = URL(r'/FDL_Complex_FR_Compte', QuestionPage) - change_pass = URL(r'/ChangePassword/Index', ChangePassPage) + questions = URL(r'/FDL_Complex_FR_Compte', + r'FsmaMandatoryQuestionnairesOverview', QuestionPage) + change_pass = URL(r'/ChangePassword/Index', + r'/EditSetting/GetSetting\?code=MutationPassword', ChangePassPage) def deinit(self): if self.page and self.page.logged: diff --git a/modules/binck/module.py b/modules/binck/module.py index fba17fdc3..923b8d50f 100644 --- a/modules/binck/module.py +++ b/modules/binck/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/binck/pages.py b/modules/binck/pages.py index 659a748a9..015b7175c 100644 --- a/modules/binck/pages.py +++ b/modules/binck/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -40,7 +40,10 @@ def MyDecimal(*args, **kwargs): class QuestionPage(HTMLPage): def on_load(self): - form = self.get_form('//form[@action="/FDL_Complex_FR_Compte/Introduction/SkipQuestionnaire"]') + if self.doc.xpath(u'//h1[contains(text(), "Questionnaires connaissance et expérience")]'): + form = self.get_form('//form[@action="/FsmaMandatoryQuestionnairesOverview/PostponeQuestionnaires"]') + else: + form = self.get_form('//form[@action="/FDL_Complex_FR_Compte/Introduction/SkipQuestionnaire"]') form.submit() @@ -64,7 +67,7 @@ class HomePage(LoggedPage, HTMLPage): class ChangePassPage(LoggedPage, HTMLPage): def on_load(self): - message = CleanText('//h3')(self.doc) + message = CleanText('//h3')(self.doc) or CleanText('//h1')(self.doc) raise BrowserPasswordExpired(message) diff --git a/modules/binck/test.py b/modules/binck/test.py index b2eb22db4..67184c8cf 100644 --- a/modules/binck/test.py +++ b/modules/binck/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/biplan/__init__.py b/modules/biplan/__init__.py index 91884ca79..81701c18e 100644 --- a/modules/biplan/__init__.py +++ b/modules/biplan/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BiplanModule diff --git a/modules/biplan/browser.py b/modules/biplan/browser.py index 15ff30839..5596593e6 100644 --- a/modules/biplan/browser.py +++ b/modules/biplan/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/biplan/calendar.py b/modules/biplan/calendar.py index b1f7c3b4f..01a258fa5 100644 --- a/modules/biplan/calendar.py +++ b/modules/biplan/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS, CATEGORIES diff --git a/modules/biplan/module.py b/modules/biplan/module.py index a2fcef571..295da45e8 100644 --- a/modules/biplan/module.py +++ b/modules/biplan/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/biplan/pages.py b/modules/biplan/pages.py index f2016e55b..ce86595c8 100644 --- a/modules/biplan/pages.py +++ b/modules/biplan/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/biplan/test.py b/modules/biplan/test.py index 61845ef5c..cf7fedb49 100644 --- a/modules/biplan/test.py +++ b/modules/biplan/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/blablacar/__init__.py b/modules/blablacar/__init__.py index 2a00b43a3..b68e12dfb 100644 --- a/modules/blablacar/__init__.py +++ b/modules/blablacar/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BlablacarModule diff --git a/modules/blablacar/browser.py b/modules/blablacar/browser.py index 4e03ca948..76bc91523 100644 --- a/modules/blablacar/browser.py +++ b/modules/blablacar/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/blablacar/module.py b/modules/blablacar/module.py index 3cbfee352..d0f3bc0c4 100644 --- a/modules/blablacar/module.py +++ b/modules/blablacar/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/blablacar/pages.py b/modules/blablacar/pages.py index 7152555b4..74a80790e 100644 --- a/modules/blablacar/pages.py +++ b/modules/blablacar/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.travel import Departure from weboob.browser.filters.standard import CleanText, Regexp, CleanDecimal diff --git a/modules/blablacar/test.py b/modules/blablacar/test.py index b6ca11d67..f54e3cca2 100644 --- a/modules/blablacar/test.py +++ b/modules/blablacar/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/blogspot/__init__.py b/modules/blogspot/__init__.py index dfcd47c44..4880e8320 100644 --- a/modules/blogspot/__init__.py +++ b/modules/blogspot/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/blogspot/browser.py b/modules/blogspot/browser.py index ea2b58e41..886f0a5ae 100644 --- a/modules/blogspot/browser.py +++ b/modules/blogspot/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/blogspot/module.py b/modules/blogspot/module.py index ca2ffda03..74174792e 100644 --- a/modules/blogspot/module.py +++ b/modules/blogspot/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/blogspot/pages.py b/modules/blogspot/pages.py index ccf10e141..fe95e565d 100644 --- a/modules/blogspot/pages.py +++ b/modules/blogspot/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/blogspot/test.py b/modules/blogspot/test.py index e9734a278..a4f229c69 100644 --- a/modules/blogspot/test.py +++ b/modules/blogspot/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnpcards/__init__.py b/modules/bnpcards/__init__.py index 9f8a43b99..7c5fd985b 100644 --- a/modules/bnpcards/__init__.py +++ b/modules/bnpcards/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BnpcartesentrepriseModule diff --git a/modules/bnpcards/browser.py b/modules/bnpcards/browser.py index af6784822..4faf32bcd 100644 --- a/modules/bnpcards/browser.py +++ b/modules/bnpcards/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.exceptions import BrowserIncorrectPassword, BrowserPasswordExpired diff --git a/modules/bnpcards/corporate/browser.py b/modules/bnpcards/corporate/browser.py index 76a049aba..b01468889 100644 --- a/modules/bnpcards/corporate/browser.py +++ b/modules/bnpcards/corporate/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.exceptions import BrowserIncorrectPassword, BrowserPasswordExpired diff --git a/modules/bnpcards/corporate/pages.py b/modules/bnpcards/corporate/pages.py index a4cdf9a71..7cf348f37 100644 --- a/modules/bnpcards/corporate/pages.py +++ b/modules/bnpcards/corporate/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from datetime import date diff --git a/modules/bnpcards/module.py b/modules/bnpcards/module.py index 797dd5f3e..807590bf7 100644 --- a/modules/bnpcards/module.py +++ b/modules/bnpcards/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/bnpcards/pages.py b/modules/bnpcards/pages.py index 769d34bfc..93a4fb239 100644 --- a/modules/bnpcards/pages.py +++ b/modules/bnpcards/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from datetime import date diff --git a/modules/bnpcards/proxy_browser.py b/modules/bnpcards/proxy_browser.py index 45eaf7193..732a4b8d4 100644 --- a/modules/bnpcards/proxy_browser.py +++ b/modules/bnpcards/proxy_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Budget Insight # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.switch import SwitchingBrowser diff --git a/modules/bnpcards/test.py b/modules/bnpcards/test.py index 9633290d0..08d4696a4 100644 --- a/modules/bnpcards/test.py +++ b/modules/bnpcards/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/bnporc/__init__.py b/modules/bnporc/__init__.py index a9bdf6de5..14dbef423 100644 --- a/modules/bnporc/__init__.py +++ b/modules/bnporc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BNPorcModule diff --git a/modules/bnporc/company/browser.py b/modules/bnporc/company/browser.py index b9a50f44c..55bf023ed 100644 --- a/modules/bnporc/company/browser.py +++ b/modules/bnporc/company/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/company/pages.py b/modules/bnporc/company/pages.py index 3c9da7fd8..fe9207613 100644 --- a/modules/bnporc/company/pages.py +++ b/modules/bnporc/company/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/enterprise/browser.py b/modules/bnporc/enterprise/browser.py index cfbac1d8f..e62c5fa67 100644 --- a/modules/bnporc/enterprise/browser.py +++ b/modules/bnporc/enterprise/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/enterprise/pages.py b/modules/bnporc/enterprise/pages.py index 1269aed09..caa4695c1 100644 --- a/modules/bnporc/enterprise/pages.py +++ b/modules/bnporc/enterprise/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/module.py b/modules/bnporc/module.py index de3a40e74..6f99addd5 100644 --- a/modules/bnporc/module.py +++ b/modules/bnporc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/pp/browser.py b/modules/bnporc/pp/browser.py index 0b3d9305d..87aabecad 100644 --- a/modules/bnporc/pp/browser.py +++ b/modules/bnporc/pp/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2016 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/pp/pages.py b/modules/bnporc/pp/pages.py index 2624b02fc..5cefb7ea7 100644 --- a/modules/bnporc/pp/pages.py +++ b/modules/bnporc/pp/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2016 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bnporc/test.py b/modules/bnporc/test.py index de938cdc8..682dcc2c4 100644 --- a/modules/bnporc/test.py +++ b/modules/bnporc/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/bnppere/__init__.py b/modules/bnppere/__init__.py index a7c20590e..fd84e7671 100644 --- a/modules/bnppere/__init__.py +++ b/modules/bnppere/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BnppereModule diff --git a/modules/bnppere/browser.py b/modules/bnppere/browser.py index c74958036..f05618ae4 100644 --- a/modules/bnppere/browser.py +++ b/modules/bnppere/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -66,7 +66,10 @@ class VisiogoBrowser(LoginBrowser): self.account_page.go() return self.page.get_accounts() - def iter_investment(self, accounts): + def iter_investment(self, account): + raise NotImplementedError() + + def iter_pocket(self, account): raise NotImplementedError() def get_profile(self): diff --git a/modules/bnppere/module.py b/modules/bnppere/module.py index 401212d2d..9a2c3227d 100644 --- a/modules/bnppere/module.py +++ b/modules/bnppere/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import AbstractModule, BackendConfig diff --git a/modules/bnppere/pages.py b/modules/bnppere/pages.py index 1a88369ed..d0e50b969 100644 --- a/modules/bnppere/pages.py +++ b/modules/bnppere/pages.py @@ -2,26 +2,26 @@ # Copyright(C) 2018 Simon Rochwerg # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from weboob.browser.pages import HTMLPage, LoggedPage from weboob.browser.elements import method, ItemElement, ListElement -from weboob.browser.filters.standard import CleanText, CleanDecimal, Format, Currency, Date +from weboob.browser.filters.standard import CleanText, CleanDecimal, Format, Currency, Date, NumberFormatError from weboob.capabilities.bank import Account, Transaction from weboob.browser.filters.html import Attr from weboob.capabilities.profile import Profile @@ -69,6 +69,18 @@ class AccountPage(LoggedPage, HTMLPage): class get_accounts(ListElement): item_xpath = '//div[@id="desktop-data-tables"]/table//tr' + def store(self, obj): + # This code enables indexing account_id when there + # are several accounts with the exact same id. + id = obj.id + n = 1 + while id in self.objects: + n += 1 + id = '%s-%s' % (obj.id, n) + obj.id = id + self.objects[obj.id] = obj + return obj + class item(ItemElement): klass = Account @@ -85,9 +97,16 @@ class AccountPage(LoggedPage, HTMLPage): obj__login = CleanDecimal('./td[1]') obj_currency = Currency('./td[6]') obj__company = CleanText('./td[3]') - obj_balance = CleanDecimal('./td[6]', replace_dots=True) obj_type = Account.TYPE_PERP + def obj_balance(self): + # The page can be randomly in french or english and + # the valuations can be "€12,345.67" or "12 345,67 €" + try: + return CleanDecimal.French('./td[6]')(self) + except NumberFormatError: + return CleanDecimal.US('./td[6]')(self) + class HistoryPage(LoggedPage, HTMLPage): @method diff --git a/modules/bnppere/test.py b/modules/bnppere/test.py index b6e926d2f..37f85e9b5 100644 --- a/modules/bnppere/test.py +++ b/modules/bnppere/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/bolden/__init__.py b/modules/bolden/__init__.py index 6e42ccdbf..a7bad60f3 100644 --- a/modules/bolden/__init__.py +++ b/modules/bolden/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bolden/browser.py b/modules/bolden/browser.py index 05d6dc380..d664bd5de 100644 --- a/modules/bolden/browser.py +++ b/modules/bolden/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bolden/module.py b/modules/bolden/module.py index 65cc77433..daa19650e 100644 --- a/modules/bolden/module.py +++ b/modules/bolden/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bolden/pages.py b/modules/bolden/pages.py index 9d5ce4433..1affa5d87 100644 --- a/modules/bolden/pages.py +++ b/modules/bolden/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -81,7 +81,7 @@ class PortfolioPage(LoggedPage, HTMLPage): obj_label = CleanText(TableCell('label')) obj_id = Slugify(Field('label')) obj_valuation = CleanDecimal(TableCell('valuation'), replace_dots=True) - obj_diff = CleanDecimal(TableCell('diff'), replace_dots=True) + obj_diff = CleanDecimal(TableCell('diff'), replace_dots=True, default=NotAvailable) obj_code = NotAvailable obj_code_type = NotAvailable @@ -90,7 +90,7 @@ class PortfolioPage(LoggedPage, HTMLPage): return CleanDecimal(TableCell('valuation'))(self) def obj__docurl(self): - return urljoin(self.page.url, Link('.//a')(TableCell('doc')(self)[0])) + return urljoin(self.page.url, Link('.//a', default=NotAvailable)(TableCell('doc')(self)[0])) def get_liquidity(self): return CleanDecimal.French('//div[p[contains(text(), "Fonds disponibles")]]/p[has-class("investor-status")]')(self.doc) diff --git a/modules/boursorama/__init__.py b/modules/boursorama/__init__.py index b92ba1087..e8c2ac5ab 100644 --- a/modules/boursorama/__init__.py +++ b/modules/boursorama/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Gabriel Kerneis # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BoursoramaModule diff --git a/modules/boursorama/browser.py b/modules/boursorama/browser.py index f365d1e1e..190bc288c 100644 --- a/modules/boursorama/browser.py +++ b/modules/boursorama/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import requests diff --git a/modules/boursorama/module.py b/modules/boursorama/module.py index b832e063e..052da4256 100644 --- a/modules/boursorama/module.py +++ b/modules/boursorama/module.py @@ -4,20 +4,20 @@ # Copyright(C) 2011 Gabriel Kerneis # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/boursorama/pages.py b/modules/boursorama/pages.py index caefbbaa0..bf395fe6a 100644 --- a/modules/boursorama/pages.py +++ b/modules/boursorama/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/boursorama/test.py b/modules/boursorama/test.py index e49d29186..41403efe6 100644 --- a/modules/boursorama/test.py +++ b/modules/boursorama/test.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Gabriel Kerneis # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/bouygues/browser.py b/modules/bouygues/browser.py index 83cdd8fb6..36bc2fbae 100644 --- a/modules/bouygues/browser.py +++ b/modules/bouygues/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from jose import jwt diff --git a/modules/bouygues/module.py b/modules/bouygues/module.py index c89d1ae66..579c76b7d 100644 --- a/modules/bouygues/module.py +++ b/modules/bouygues/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bouygues/pages.py b/modules/bouygues/pages.py index a172b0035..22ad07d56 100644 --- a/modules/bouygues/pages.py +++ b/modules/bouygues/pages.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2010-2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bp/__init__.py b/modules/bp/__init__.py index e53afd9f7..c8846b8b9 100644 --- a/modules/bp/__init__.py +++ b/modules/bp/__init__.py @@ -2,20 +2,20 @@ # # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BPModule diff --git a/modules/bp/browser.py b/modules/bp/browser.py index 3790abf2c..9ab228287 100644 --- a/modules/bp/browser.py +++ b/modules/bp/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import os from datetime import datetime, timedelta @@ -110,7 +110,8 @@ class BPBrowser(LoginBrowser, StatesMixin): deferred_card_history_multi = URL(r'/voscomptes/canalXHTML/CB/releveCB/preparerRecherche-mouvementsCarteDD.ea\?indexCompte=(?P\w+)&indexCarte=(?P\d+)&typeListe=(?P\d+)', AccountHistory) # &typeRecherche=10 par_account_checking_coming = URL('/voscomptes/canalXHTML/CCP/releves_ccp_encours/preparerRecherche-releve_ccp_encours.ea\?compte.numero=(?P.*)&typeRecherche=1', '/voscomptes/canalXHTML/CB/releveCB/init-mouvementsCarteDD.ea\?compte.numero=(?P.*)&typeListe=1&typeRecherche=10', - '/voscomptes/canalXHTML/CCP/releves_ccp_encours/preparerRecherche-releve_ccp_encours.ea\?indexCompte', AccountHistory) + '/voscomptes/canalXHTML/CCP/releves_ccp_encours/preparerRecherche-releve_ccp_encours.ea\?indexCompte', + '/voscomptes/canalXHTML/CNE/releveCNE_encours/init-releve_cne_en_cours.ea\?indexCompte=(?P.*)&typeRecherche=1&typeMouvements=CNE', AccountHistory) par_account_savings_and_invests_history = URL('/voscomptes/canalXHTML/CNE/releveCNE/init-releve_cne.ea\?typeRecherche=10&compte.numero=(?P.*)', '/voscomptes/canalXHTML/CNE/releveCNE/releveCNE-releve_cne.ea', AccountHistory) diff --git a/modules/bp/linebourse_browser.py b/modules/bp/linebourse_browser.py index c878ebbad..2a226051c 100644 --- a/modules/bp/linebourse_browser.py +++ b/modules/bp/linebourse_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/bp/module.py b/modules/bp/module.py index 94fb67e77..82e4ccc6d 100644 --- a/modules/bp/module.py +++ b/modules/bp/module.py @@ -2,26 +2,26 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal from weboob.capabilities.bank import CapBankWealth, CapBankTransferAddRecipient, Account, AccountNotFound, RecipientNotFound, TransferError from weboob.capabilities.contact import CapContact -from weboob.capabilities.base import find_object, NotAvailable +from weboob.capabilities.base import find_object, strict_find_object, NotAvailable from weboob.capabilities.profile import CapProfile from weboob.capabilities.bill import ( CapDocument, Subscription, SubscriptionNotFound, @@ -86,15 +86,13 @@ class BPModule( raise NotImplementedError() self.logger.info('Going to do a new transfer') - if transfer.account_iban: - account = find_object(self.iter_accounts(), iban=transfer.account_iban, error=AccountNotFound) - else: - account = find_object(self.iter_accounts(), id=transfer.account_id, error=AccountNotFound) - - if transfer.recipient_iban: - recipient = find_object(self.iter_transfer_recipients(account.id), iban=transfer.recipient_iban, error=RecipientNotFound) - else: - recipient = find_object(self.iter_transfer_recipients(account.id), id=transfer.recipient_id, error=RecipientNotFound) + account = strict_find_object(self.iter_accounts(), iban=transfer.account_iban) + if not account: + account = strict_find_object(self.iter_accounts(), id=transfer.account_id, error=AccountNotFound) + + recipient = strict_find_object(self.iter_transfer_recipients(account.id), iban=transfer.recipient_iban) + if not recipient: + recipient = strict_find_object(self.iter_transfer_recipients(account.id), id=transfer.recipient_id, error=RecipientNotFound) try: # quantize to show 2 decimals. diff --git a/modules/bp/pages/__init__.py b/modules/bp/pages/__init__.py index 6f41c8c49..45e4ecde2 100644 --- a/modules/bp/pages/__init__.py +++ b/modules/bp/pages/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .login import LoginPage, Initident, CheckPassword,repositionnerCheminCourant, BadLoginPage, AccountDesactivate, UnavailablePage diff --git a/modules/bp/pages/accounthistory.py b/modules/bp/pages/accounthistory.py index fd6b1bc3e..0f3b8a9a4 100644 --- a/modules/bp/pages/accounthistory.py +++ b/modules/bp/pages/accounthistory.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bp/pages/accountlist.py b/modules/bp/pages/accountlist.py index aa63d305e..2976861cd 100644 --- a/modules/bp/pages/accountlist.py +++ b/modules/bp/pages/accountlist.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -77,8 +77,13 @@ class item_account_generic(ItemElement): coming = 0 details_page = self.page.browser.open(Field('url')(self)) - coming_op_link = Regexp(Link(u'//a[contains(text(), "Opérations à venir")]'), r'../(.*)')(details_page.page.doc) - coming_operations = self.page.browser.open(self.page.browser.BASEURL + '/voscomptes/canalXHTML/CCP/' + coming_op_link) + coming_op_link = Link('//a[contains(text(), "Opérations à venir")]', default=NotAvailable)(details_page.page.doc) + if coming_op_link: + coming_op_link = Regexp(Link('//a[contains(text(), "Opérations à venir")]'), r'../(.*)')(details_page.page.doc) + coming_operations = self.page.browser.open(self.page.browser.BASEURL + '/voscomptes/canalXHTML/CCP/' + coming_op_link) + else: + coming_op_link = Link('//a[contains(text(), "Opérations en cours")]')(details_page.page.doc) + coming_operations = self.page.browser.open(coming_op_link) if CleanText('//span[@id="amount_total"]')(coming_operations.page.doc): has_coming = True @@ -97,6 +102,14 @@ class item_account_generic(ItemElement): if rib_link: response = self.page.browser.open(rib_link) return response.page.get_iban() + + elif Field('type')(self) == Account.TYPE_SAVINGS: + # The rib link is available on the history page (ex: Livret A) + his_page = self.page.browser.open(Field('url')(self)) + rib_link = Link('//a[abbr[contains(text(), "RIB")]]', default=NotAvailable)(his_page.page.doc) + if rib_link: + response = self.page.browser.open(rib_link) + return response.page.get_iban() return NotAvailable def obj_type(self): diff --git a/modules/bp/pages/base.py b/modules/bp/pages/base.py index 8f316a89d..308697f18 100644 --- a/modules/bp/pages/base.py +++ b/modules/bp/pages/base.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 budget-insight # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/bp/pages/login.py b/modules/bp/pages/login.py index 05fad6603..86eaca28b 100644 --- a/modules/bp/pages/login.py +++ b/modules/bp/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals, division diff --git a/modules/bp/pages/mandate.py b/modules/bp/pages/mandate.py index f445f6c4f..0bc639fea 100644 --- a/modules/bp/pages/mandate.py +++ b/modules/bp/pages/mandate.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/bp/pages/pro.py b/modules/bp/pages/pro.py index d6d0e4edc..55abd4f5a 100644 --- a/modules/bp/pages/pro.py +++ b/modules/bp/pages/pro.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from decimal import Decimal @@ -28,6 +28,7 @@ from weboob.capabilities.bank import Account from weboob.capabilities.profile import Company from weboob.capabilities.base import NotAvailable from weboob.tools.compat import urljoin, unicode +from weboob.exceptions import BrowserUnavailable from .accounthistory import Transaction from .base import MyHTMLPage @@ -39,6 +40,10 @@ class RedirectPage(LoggedPage, MyHTMLPage): class ProAccountsList(LoggedPage, MyHTMLPage): + def on_load(self): + if self.doc.xpath('//div[@id="erreur_generale"]'): + raise BrowserUnavailable(CleanText(u'//div[@id="erreur_generale"]//p[contains(text(), "Le service est momentanément indisponible")]')(self.doc)) + ACCOUNT_TYPES = {u'comptes titres': Account.TYPE_MARKET, u'comptes épargne': Account.TYPE_SAVINGS, # wtf? ^ diff --git a/modules/bp/pages/subscription.py b/modules/bp/pages/subscription.py index eaf9d4e09..013f15a61 100644 --- a/modules/bp/pages/subscription.py +++ b/modules/bp/pages/subscription.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2018 Célande Adrien # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bp/pages/transfer.py b/modules/bp/pages/transfer.py index aefe33888..3f8ff4ffc 100644 --- a/modules/bp/pages/transfer.py +++ b/modules/bp/pages/transfer.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/bred/__init__.py b/modules/bred/__init__.py index ea40df639..14d00596b 100644 --- a/modules/bred/__init__.py +++ b/modules/bred/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BredModule diff --git a/modules/bred/bred/browser.py b/modules/bred/bred/browser.py index 5edbeda9f..5dfb4578c 100644 --- a/modules/bred/bred/browser.py +++ b/modules/bred/bred/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bred/bred/pages.py b/modules/bred/bred/pages.py index 64bcd833a..44a2dfabd 100644 --- a/modules/bred/bred/pages.py +++ b/modules/bred/bred/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Célande Adrien # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bred/dispobank/browser.py b/modules/bred/dispobank/browser.py index d92b8d7c7..d83c6bcd0 100644 --- a/modules/bred/dispobank/browser.py +++ b/modules/bred/dispobank/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, need_login, URL diff --git a/modules/bred/dispobank/pages.py b/modules/bred/dispobank/pages.py index 68a61e64a..0f149e25c 100644 --- a/modules/bred/dispobank/pages.py +++ b/modules/bred/dispobank/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/bred/module.py b/modules/bred/module.py index e27e6ac0e..099fe23d0 100644 --- a/modules/bred/module.py +++ b/modules/bred/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth, AccountNotFound diff --git a/modules/bred/test.py b/modules/bred/test.py index 6e94d2058..bb4fab309 100644 --- a/modules/bred/test.py +++ b/modules/bred/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/btmon/__init__.py b/modules/btmon/__init__.py index 6e53cb687..277fbb789 100644 --- a/modules/btmon/__init__.py +++ b/modules/btmon/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BtmonModule diff --git a/modules/btmon/browser.py b/modules/btmon/browser.py index 6a2940468..1120a6b67 100644 --- a/modules/btmon/browser.py +++ b/modules/btmon/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/btmon/module.py b/modules/btmon/module.py index 9025a65ee..87d0f459a 100644 --- a/modules/btmon/module.py +++ b/modules/btmon/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import CapTorrent, Torrent from weboob.tools.backend import Module diff --git a/modules/btmon/pages.py b/modules/btmon/pages.py index 00feecbe2..aaa74b64f 100644 --- a/modules/btmon/pages.py +++ b/modules/btmon/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.tools.misc import get_bytes_size diff --git a/modules/btmon/test.py b/modules/btmon/test.py index c8e6943cd..63f364921 100644 --- a/modules/btmon/test.py +++ b/modules/btmon/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/btpbanque/__init__.py b/modules/btpbanque/__init__.py index 4386f75c5..3cd8d1d49 100644 --- a/modules/btpbanque/__init__.py +++ b/modules/btpbanque/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import BtpbanqueModule diff --git a/modules/btpbanque/caisseepargne_browser.py b/modules/btpbanque/caisseepargne_browser.py index cc82e40fc..2501347dd 100644 --- a/modules/btpbanque/caisseepargne_browser.py +++ b/modules/btpbanque/caisseepargne_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/btpbanque/cenet_browser.py b/modules/btpbanque/cenet_browser.py index b788535cb..c26e71b28 100644 --- a/modules/btpbanque/cenet_browser.py +++ b/modules/btpbanque/cenet_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/btpbanque/module.py b/modules/btpbanque/module.py index 431afa1fc..5a13a3ce8 100644 --- a/modules/btpbanque/module.py +++ b/modules/btpbanque/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank diff --git a/modules/btpbanque/proxy_browser.py b/modules/btpbanque/proxy_browser.py index 305f2a420..322579588 100644 --- a/modules/btpbanque/proxy_browser.py +++ b/modules/btpbanque/proxy_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.switch import SwitchingBrowser diff --git a/modules/btpbanque/test.py b/modules/btpbanque/test.py index 8f857ffd5..68b53b8f2 100644 --- a/modules/btpbanque/test.py +++ b/modules/btpbanque/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/caels/__init__.py b/modules/caels/__init__.py index a908f7d77..be0e1b13f 100644 --- a/modules/caels/__init__.py +++ b/modules/caels/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CaelsModule diff --git a/modules/caels/browser.py b/modules/caels/browser.py index e77af0e67..3cd2e831f 100644 --- a/modules/caels/browser.py +++ b/modules/caels/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/caels/module.py b/modules/caels/module.py index ab5f67a14..2b8cee46c 100644 --- a/modules/caels/module.py +++ b/modules/caels/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth, AccountNotFound diff --git a/modules/caels/pages.py b/modules/caels/pages.py index 5d0174349..fc1851c40 100644 --- a/modules/caels/pages.py +++ b/modules/caels/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Quentin Defenouillere # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.elements import ItemElement, method, DictElement diff --git a/modules/caissedepargne/__init__.py b/modules/caissedepargne/__init__.py index 7c691664e..c45489e8d 100644 --- a/modules/caissedepargne/__init__.py +++ b/modules/caissedepargne/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CaisseEpargneModule diff --git a/modules/caissedepargne/browser.py b/modules/caissedepargne/browser.py index 5dacfa9d2..228d625e6 100644 --- a/modules/caissedepargne/browser.py +++ b/modules/caissedepargne/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -672,6 +672,13 @@ class CaisseEpargne(LoginBrowser, StatesMixin): if origin_account.type == Account.TYPE_LOAN: return [] + if 'pro' in self.url: + # If transfer is not yet allowed, the next step will send a sms to the customer to validate it + self.home.go() + self.page.go_pro_transfer_availability() + if not self.page.is_transfer_allowed(): + return [] + # Transfer unavailable try: self.pre_transfer(origin_account) @@ -708,6 +715,8 @@ class CaisseEpargne(LoginBrowser, StatesMixin): def init_transfer(self, account, recipient, transfer): self.pre_transfer(account) self.page.init_transfer(account, recipient, transfer) + if self.sms_option.is_here(): + raise NotImplementedError() self.page.continue_transfer(account.label, recipient, transfer.label) return self.page.create_transfer(account, recipient, transfer) diff --git a/modules/caissedepargne/cenet/browser.py b/modules/caissedepargne/cenet/browser.py index 2c1c1b8f6..5af05d564 100644 --- a/modules/caissedepargne/cenet/browser.py +++ b/modules/caissedepargne/cenet/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/caissedepargne/cenet/pages.py b/modules/caissedepargne/cenet/pages.py index e46dd7324..57d2abf78 100644 --- a/modules/caissedepargne/cenet/pages.py +++ b/modules/caissedepargne/cenet/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re import json diff --git a/modules/caissedepargne/linebourse_browser.py b/modules/caissedepargne/linebourse_browser.py index c0ee4997b..8b7911ec8 100644 --- a/modules/caissedepargne/linebourse_browser.py +++ b/modules/caissedepargne/linebourse_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/caissedepargne/module.py b/modules/caissedepargne/module.py index 802551642..30a7b6f9f 100644 --- a/modules/caissedepargne/module.py +++ b/modules/caissedepargne/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2017 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict import re diff --git a/modules/caissedepargne/pages.py b/modules/caissedepargne/pages.py index a9032b188..5d13b6ecd 100644 --- a/modules/caissedepargne/pages.py +++ b/modules/caissedepargne/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import division from __future__ import unicode_literals @@ -739,6 +739,16 @@ class IndexPage(LoggedPage, HTMLPage): form['__EVENTARGUMENT'] = re.search(r'Ajax", "(.*)", true', link).group(1) form.submit() + def go_pro_transfer_availability(self): + form = self.get_form(id='main') + form['__EVENTTARGET'] = 'Menu_AJAX' + form['__EVENTARGUMENT'] = 'VIRLSRM0' + form['m_ScriptManager'] = 'm_ScriptManager|Menu_AJAX' + form.submit() + + def is_transfer_allowed(self): + return not self.doc.xpath('//ul/li[contains(text(), "Aucun compte tiers n\'est disponible")]') + class ConsLoanPage(JsonPage): def get_conso(self): @@ -1425,4 +1435,5 @@ class CreditCooperatifMarketPage(LoggedPage, HTMLPage): # Stay logged when landing on the new Linebourse # (which is used by Credit Cooperatif's connections) # The parsing is done in linebourse.api.pages - pass + def is_error(self): + return CleanText('//caption[contains(text(),"Erreur")]')(self.doc) diff --git a/modules/caissedepargne/proxy_browser.py b/modules/caissedepargne/proxy_browser.py index 520d2d7c6..dd12e75cb 100644 --- a/modules/caissedepargne/proxy_browser.py +++ b/modules/caissedepargne/proxy_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2017 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.switch import SwitchingBrowser diff --git a/modules/caissedepargne/test.py b/modules/caissedepargne/test.py index 280e87e5b..9238e4880 100644 --- a/modules/caissedepargne/test.py +++ b/modules/caissedepargne/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/canalplus/__init__.py b/modules/canalplus/__init__.py index 6afa16dc9..a78d22a2c 100644 --- a/modules/canalplus/__init__.py +++ b/modules/canalplus/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CanalplusModule diff --git a/modules/canalplus/browser.py b/modules/canalplus/browser.py index 5f636c721..dba61037a 100644 --- a/modules/canalplus/browser.py +++ b/modules/canalplus/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Nicolas Duhamel, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/canalplus/module.py b/modules/canalplus/module.py index 83fba9a57..e18d21822 100644 --- a/modules/canalplus/module.py +++ b/modules/canalplus/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/canalplus/pages.py b/modules/canalplus/pages.py index d4da6a08b..4b305640a 100644 --- a/modules/canalplus/pages.py +++ b/modules/canalplus/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Nicolas Duhamel, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime import re diff --git a/modules/canalplus/test.py b/modules/canalplus/test.py index 2ea5d66d2..662fd9826 100644 --- a/modules/canalplus/test.py +++ b/modules/canalplus/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/canalplus/video.py b/modules/canalplus/video.py index 59b24e161..a65d023d0 100644 --- a/modules/canalplus/video.py +++ b/modules/canalplus/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo diff --git a/modules/capeasi/__init__.py b/modules/capeasi/__init__.py index 083a8bee1..4d3e9044e 100644 --- a/modules/capeasi/__init__.py +++ b/modules/capeasi/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CapeasiModule diff --git a/modules/capeasi/browser.py b/modules/capeasi/browser.py index 7fee6dde1..79ab043d6 100644 --- a/modules/capeasi/browser.py +++ b/modules/capeasi/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/capeasi/module.py b/modules/capeasi/module.py index 9e9defd08..541c2f000 100644 --- a/modules/capeasi/module.py +++ b/modules/capeasi/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import AbstractModule, BackendConfig diff --git a/modules/capeasi/test.py b/modules/capeasi/test.py index 3b2d64404..ee4350bce 100644 --- a/modules/capeasi/test.py +++ b/modules/capeasi/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/carrefourbanque/__init__.py b/modules/carrefourbanque/__init__.py index 757ff471a..574da7a06 100644 --- a/modules/carrefourbanque/__init__.py +++ b/modules/carrefourbanque/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CarrefourBanqueModule diff --git a/modules/carrefourbanque/browser.py b/modules/carrefourbanque/browser.py index b4dc4c465..437d07996 100644 --- a/modules/carrefourbanque/browser.py +++ b/modules/carrefourbanque/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from time import sleep from weboob.browser import LoginBrowser, URL, need_login, StatesMixin diff --git a/modules/carrefourbanque/module.py b/modules/carrefourbanque/module.py index 1690b2a86..2e78c9e8f 100644 --- a/modules/carrefourbanque/module.py +++ b/modules/carrefourbanque/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import find_object diff --git a/modules/carrefourbanque/pages.py b/modules/carrefourbanque/pages.py index d9bf0bac6..724c8643f 100644 --- a/modules/carrefourbanque/pages.py +++ b/modules/carrefourbanque/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/carrefourbanque/test.py b/modules/carrefourbanque/test.py index de9311148..2613de49c 100644 --- a/modules/carrefourbanque/test.py +++ b/modules/carrefourbanque/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/cci/__init__.py b/modules/cci/__init__.py index 62ec3ec57..2403ff57c 100644 --- a/modules/cci/__init__.py +++ b/modules/cci/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CciModule diff --git a/modules/cci/browser.py b/modules/cci/browser.py index 2c3221a86..e9259b74f 100644 --- a/modules/cci/browser.py +++ b/modules/cci/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.capabilities.job import BaseJobAdvert diff --git a/modules/cci/module.py b/modules/cci/module.py index baa55e032..49bbf07e8 100644 --- a/modules/cci/module.py +++ b/modules/cci/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/cci/pages.py b/modules/cci/pages.py index d5fe31ccb..da9752d26 100644 --- a/modules/cci/pages.py +++ b/modules/cci/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage from weboob.browser.elements import ItemElement, TableElement, method diff --git a/modules/cci/test.py b/modules/cci/test.py index 38cd92419..0ac64a634 100644 --- a/modules/cci/test.py +++ b/modules/cci/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/centquatre/__init__.py b/modules/centquatre/__init__.py index cee7c6587..9cdb3cf46 100644 --- a/modules/centquatre/__init__.py +++ b/modules/centquatre/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Phyks # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CentQuatreModule diff --git a/modules/centquatre/browser.py b/modules/centquatre/browser.py index f591bc231..a0f1b155a 100644 --- a/modules/centquatre/browser.py +++ b/modules/centquatre/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Phyks # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import itertools diff --git a/modules/centquatre/calendar.py b/modules/centquatre/calendar.py index dbd285590..c675758a4 100644 --- a/modules/centquatre/calendar.py +++ b/modules/centquatre/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Phyks # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS diff --git a/modules/centquatre/module.py b/modules/centquatre/module.py index 43238733c..5f7a2269d 100644 --- a/modules/centquatre/module.py +++ b/modules/centquatre/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Phyks # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/centquatre/pages.py b/modules/centquatre/pages.py index f9c358a1c..f05bbfdbe 100644 --- a/modules/centquatre/pages.py +++ b/modules/centquatre/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Phyks # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, LoggedPage diff --git a/modules/centquatre/test.py b/modules/centquatre/test.py index b142d1c79..3daa601c3 100644 --- a/modules/centquatre/test.py +++ b/modules/centquatre/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Phyks # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/chronopost/__init__.py b/modules/chronopost/__init__.py index a5978970b..508a28cc5 100644 --- a/modules/chronopost/__init__.py +++ b/modules/chronopost/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ChronopostModule diff --git a/modules/chronopost/browser.py b/modules/chronopost/browser.py index 6bf929b0a..f027d5551 100644 --- a/modules/chronopost/browser.py +++ b/modules/chronopost/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/chronopost/module.py b/modules/chronopost/module.py index e86df55a1..ada730552 100644 --- a/modules/chronopost/module.py +++ b/modules/chronopost/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.parcel import CapParcel diff --git a/modules/chronopost/pages.py b/modules/chronopost/pages.py index 5333ad4fb..270c34244 100644 --- a/modules/chronopost/pages.py +++ b/modules/chronopost/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.parcel import Parcel, Event, ParcelNotFound diff --git a/modules/cic/__init__.py b/modules/cic/__init__.py index 0922c7b3e..6a9eb457f 100644 --- a/modules/cic/__init__.py +++ b/modules/cic/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CICModule diff --git a/modules/cic/browser.py b/modules/cic/browser.py index 56ad00325..2e757188a 100644 --- a/modules/cic/browser.py +++ b/modules/cic/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import LoginPage from weboob.browser.browsers import AbstractBrowser diff --git a/modules/cic/module.py b/modules/cic/module.py index 39b143ec5..5b65c9497 100644 --- a/modules/cic/module.py +++ b/modules/cic/module.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankTransferAddRecipient from weboob.capabilities.contact import CapContact diff --git a/modules/cic/pages.py b/modules/cic/pages.py index 0016b6def..076ad5909 100644 --- a/modules/cic/pages.py +++ b/modules/cic/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/cic/test.py b/modules/cic/test.py index 6c71166d5..95b24d379 100644 --- a/modules/cic/test.py +++ b/modules/cic/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/cices/__init__.py b/modules/cices/__init__.py index 24ffcad3e..03cbe1d24 100644 --- a/modules/cices/__init__.py +++ b/modules/cices/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CicesModule diff --git a/modules/cices/browser.py b/modules/cices/browser.py index 5cdfef935..23cf24153 100644 --- a/modules/cices/browser.py +++ b/modules/cices/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/cices/module.py b/modules/cices/module.py index 59906482d..c589ca27c 100644 --- a/modules/cices/module.py +++ b/modules/cices/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig @@ -43,10 +43,12 @@ class CicesModule(Module, CapBankPockets): BROWSER = CmesBrowser def create_default_browser(self): - return self.create_browser('https://www.cic-epargnesalariale.fr', - self.config['login'].get(), - self.config['password'].get(), - weboob=self.weboob) + return self.create_browser( + self.config['login'].get(), + self.config['password'].get(), + 'https://www.cic-epargnesalariale.fr', + weboob=self.weboob + ) def get_account(self, _id): return find_object(self.browser.iter_accounts(), id=_id, error=AccountNotFound) diff --git a/modules/cices/test.py b/modules/cices/test.py index 13ee164e5..e978b424d 100644 --- a/modules/cices/test.py +++ b/modules/cices/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/citibank/__init__.py b/modules/citibank/__init__.py index 4a49a81c4..68db117ea 100644 --- a/modules/citibank/__init__.py +++ b/modules/citibank/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CitibankModule diff --git a/modules/citibank/browser.py b/modules/citibank/browser.py index 508fd7bf4..4183140d9 100644 --- a/modules/citibank/browser.py +++ b/modules/citibank/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014, 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/citibank/module.py b/modules/citibank/module.py index 9bd1c3deb..94d2a8020 100644 --- a/modules/citibank/module.py +++ b/modules/citibank/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank diff --git a/modules/citibank/parser.py b/modules/citibank/parser.py index c97690ad3..ceef92c5c 100644 --- a/modules/citibank/parser.py +++ b/modules/citibank/parser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/citibank/test.py b/modules/citibank/test.py index 0ffeb90d3..ab902bc95 100644 --- a/modules/citibank/test.py +++ b/modules/citibank/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from itertools import chain diff --git a/modules/cityscoot/__init__.py b/modules/cityscoot/__init__.py index 96d021412..5d023dc9f 100644 --- a/modules/cityscoot/__init__.py +++ b/modules/cityscoot/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cityscoot/browser.py b/modules/cityscoot/browser.py index 50e304863..37aecf6bd 100644 --- a/modules/cityscoot/browser.py +++ b/modules/cityscoot/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cityscoot/module.py b/modules/cityscoot/module.py index 1c124175a..7d5a5b7fc 100644 --- a/modules/cityscoot/module.py +++ b/modules/cityscoot/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cityscoot/pages.py b/modules/cityscoot/pages.py index 783dfcfd0..be1f7513a 100644 --- a/modules/cityscoot/pages.py +++ b/modules/cityscoot/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cityscoot/test.py b/modules/cityscoot/test.py index 7a33b8934..e54b8f467 100644 --- a/modules/cityscoot/test.py +++ b/modules/cityscoot/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cmb/__init__.py b/modules/cmb/__init__.py index 2b880d882..534678d3c 100644 --- a/modules/cmb/__init__.py +++ b/modules/cmb/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Johann Broudin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CmbModule diff --git a/modules/cmb/module.py b/modules/cmb/module.py index 6ca6df3f4..dbb9748a6 100644 --- a/modules/cmb/module.py +++ b/modules/cmb/module.py @@ -2,24 +2,24 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import AbstractModule, BackendConfig -from weboob.capabilities.bank import CapBank +from weboob.capabilities.bank import CapBankTransfer from weboob.capabilities.contact import CapContact from weboob.tools.value import Value, ValueBackendPassword @@ -27,7 +27,7 @@ from weboob.tools.value import Value, ValueBackendPassword __all__ = ['CmbModule'] -class CmbModule(AbstractModule, CapBank, CapContact): +class CmbModule(AbstractModule, CapBankTransfer, CapContact): NAME = 'cmb' MAINTAINER = u'Edouard Lambert' EMAIL = 'elambert@budget-insight.com' diff --git a/modules/cmb/par/browser.py b/modules/cmb/par/browser.py index 5248e6677..3baa6e887 100644 --- a/modules/cmb/par/browser.py +++ b/modules/cmb/par/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/cmb/pro/browser.py b/modules/cmb/pro/browser.py index 95d36ff31..66acf8482 100644 --- a/modules/cmb/pro/browser.py +++ b/modules/cmb/pro/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 smurail # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/cmes/__init__.py b/modules/cmes/__init__.py index 7a7420b27..9f61f0e10 100644 --- a/modules/cmes/__init__.py +++ b/modules/cmes/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CmesModule diff --git a/modules/cmes/browser.py b/modules/cmes/browser.py index 25726b123..464159e9e 100644 --- a/modules/cmes/browser.py +++ b/modules/cmes/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.exceptions import BrowserIncorrectPassword @@ -42,8 +42,7 @@ class CmesBrowser(LoginBrowser): '(?P.*)fr/.*GoOperationDetails', HistoryPage) custom_page = URL('/fr/espace/personnel/index.html', CustomPage) - - def __init__(self, website, username, password, subsite="", *args, **kwargs): + def __init__(self, username, password, website, subsite="", *args, **kwargs): super(LoginBrowser, self).__init__(*args, **kwargs) self.BASEURL = website self.username = username @@ -64,6 +63,9 @@ class CmesBrowser(LoginBrowser): if self.custom_page.is_here(): # it can be redirected by accounts page, return on accounts page should be enough self.accounts.go(subsite=self.subsite) + if self.custom_page.is_here(): + # Need to do it twice + self.accounts.go(subsite=self.subsite) return self.page.iter_accounts() diff --git a/modules/cmes/module.py b/modules/cmes/module.py index 330c6cf6c..ba2bcbf13 100644 --- a/modules/cmes/module.py +++ b/modules/cmes/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig @@ -43,7 +43,11 @@ class CmesModule(Module, CapBankPockets): BROWSER = CmesBrowser def create_default_browser(self): - return self.create_browser('https://www.creditmutuel-epargnesalariale.fr', self.config['login'].get(), self.config['password'].get()) + return self.create_browser( + self.config['login'].get(), + self.config['password'].get(), + 'https://www.creditmutuel-epargnesalariale.fr', + ) def get_account(self, _id): return find_object(self.browser.iter_accounts(), id=_id, error=AccountNotFound) diff --git a/modules/cmes/pages.py b/modules/cmes/pages.py index 25833ec83..73f0bf865 100644 --- a/modules/cmes/pages.py +++ b/modules/cmes/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cmes/test.py b/modules/cmes/test.py index acae0fad8..b02a8d0d7 100644 --- a/modules/cmes/test.py +++ b/modules/cmes/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/cmmc/__init__.py b/modules/cmmc/__init__.py index 12b50dc5f..11ccf9675 100644 --- a/modules/cmmc/__init__.py +++ b/modules/cmmc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Johann Broudin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CmmcModule diff --git a/modules/cmmc/module.py b/modules/cmmc/module.py index adbbc2f65..5bc08cec8 100644 --- a/modules/cmmc/module.py +++ b/modules/cmmc/module.py @@ -2,24 +2,24 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import AbstractModule, BackendConfig -from weboob.capabilities.bank import CapBank +from weboob.capabilities.bank import CapBankTransfer from weboob.capabilities.contact import CapContact from weboob.tools.value import Value, ValueBackendPassword @@ -27,7 +27,7 @@ from weboob.tools.value import Value, ValueBackendPassword __all__ = ['CmmcModule'] -class CmmcModule(AbstractModule, CapBank, CapContact): +class CmmcModule(AbstractModule, CapBankTransfer, CapContact): NAME = 'cmmc' MAINTAINER = u'Edouard Lambert' EMAIL = 'elambert@budget-insight.com' diff --git a/modules/cmmc/par/browser.py b/modules/cmmc/par/browser.py index 5248e6677..3baa6e887 100644 --- a/modules/cmmc/par/browser.py +++ b/modules/cmmc/par/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/cmmc/pro/browser.py b/modules/cmmc/pro/browser.py index 95d36ff31..66acf8482 100644 --- a/modules/cmmc/pro/browser.py +++ b/modules/cmmc/pro/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 smurail # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/cmso/__init__.py b/modules/cmso/__init__.py index 589070375..80fdb437c 100644 --- a/modules/cmso/__init__.py +++ b/modules/cmso/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CmsoModule diff --git a/modules/cmso/module.py b/modules/cmso/module.py index dcfe94cfa..5461f4496 100644 --- a/modules/cmso/module.py +++ b/modules/cmso/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cmso/par/browser.py b/modules/cmso/par/browser.py index 7b6a921bf..7e5583c22 100644 --- a/modules/cmso/par/browser.py +++ b/modules/cmso/par/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -166,6 +166,8 @@ class CmsoParBrowser(LoginBrowser, StatesMixin): self.transfer_info.go(json={"beneficiaryType":"INTERNATIONAL"}) numbers = self.page.get_numbers() + # to know if account can do transfer + accounts_eligibilite_debit = self.page.get_eligibilite_debit() # First get all checking accounts... data = dict(self.infos.stay_or_go().get_typelist()) @@ -173,6 +175,7 @@ class CmsoParBrowser(LoginBrowser, StatesMixin): self.page.check_response() for key in self.page.get_keys(): for a in self.page.iter_accounts(key=key): + a._eligible_debit = accounts_eligibilite_debit.get(a.id, False) # Can have duplicate account, avoid them if a._index not in seen: self.accounts_list.append(a) @@ -183,6 +186,7 @@ class CmsoParBrowser(LoginBrowser, StatesMixin): page = self.accounts.go(data=json.dumps({}), type='epargne', headers=self.json_headers) for key in page.get_keys(): for a in page.iter_savings(key=key, numbers=numbers): + a._eligible_debit = accounts_eligibilite_debit.get(a.id, False) if a._index in seen: acc = seen[a._index] self.accounts_list.remove(acc) @@ -358,6 +362,8 @@ class CmsoParBrowser(LoginBrowser, StatesMixin): if recipient.id != recipient.iban: transfer_data['nature'] = 'interne' transfer_data['transferToBeneficiary'] = False + transfer_data['creditAccountIndex'] = transfer_data['beneficiaryIndex'] + transfer_data.pop('beneficiaryIndex') self.init_transfer_page.go(json=transfer_data) transfer = self.page.handle_transfer(account, recipient, amount, reason, exec_date) diff --git a/modules/cmso/par/pages.py b/modules/cmso/par/pages.py index 6e8e1fe75..d4045eaa0 100644 --- a/modules/cmso/par/pages.py +++ b/modules/cmso/par/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -135,8 +135,6 @@ class AccountsPage(LoggedPage, JsonPage): # Iban is available without last 5 numbers, or by sms obj_iban = NotAvailable obj__index = Dict('index') - # to know if we can do transfer on account - obj__eligible_debit = Dict('eligibiliteDebit', default=False) def obj_balance(self): balance = CleanDecimal(Dict('soldeEuro', default="0"))(self) @@ -196,8 +194,6 @@ class AccountsPage(LoggedPage, JsonPage): obj_coming = CleanDecimal(Dict('AVenir', default=None), default=NotAvailable) obj__index = Dict('index') obj__owner = Dict('nomTitulaire') - # to know if we can do transfer on account - obj__eligible_debit = Dict('eligibiliteDebit', default=False) def obj_id(self): type = Field('type')(self) diff --git a/modules/cmso/par/transfer_pages.py b/modules/cmso/par/transfer_pages.py new file mode 100644 index 000000000..d9f567636 --- /dev/null +++ b/modules/cmso/par/transfer_pages.py @@ -0,0 +1,169 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2019 Sylvie Ye +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + +import datetime as dt + +from weboob.browser.pages import JsonPage, LoggedPage +from weboob.browser.elements import DictElement, ItemElement, method +from weboob.browser.filters.standard import CleanText, CleanDecimal, Currency +from weboob.browser.filters.json import Dict +from weboob.capabilities.bank import Recipient, Transfer, TransferBankError +from weboob.capabilities.base import NotAvailable + + +class MyRecipientItemElement(ItemElement): + def condition(self): + return Dict('eligibiliteCredit', default=False) + + klass = Recipient + + obj_id = Dict('numeroContratSouscrit') + obj_label = Dict('lib') + obj_iban = NotAvailable + obj_enabled_at = dt.date.today() + obj_category = 'Interne' + obj__index = Dict('index') + + +class RecipientsListPage(LoggedPage, JsonPage): + def get_rcpt_index(self, recipient): + if recipient.category == 'Externe': + for el in self.doc['listBeneficiaries']: + for rcpt in el: + # in this list, recipient iban is like FR111111111111111XXXXX + if rcpt['iban'][:-5] == recipient.iban[:-5] and rcpt['nom'] == recipient.label: + return rcpt['index'] + return recipient._index + + +class TransferInfoPage(LoggedPage, JsonPage): + def get_transfer_info(self, info): + # If account information is not available when asking for the + # recipients (server error for ex.), return an empty dictionary + # that will be filled later after being returned the json of the + # account page (containing the accounts IDs too). + if 'listCompteTitulaireCotitulaire' not in self.doc and 'exception' in self.doc: + return {} + + information = { + 'numbers': ('index', 'numeroContratSouscrit'), + 'eligibilite_debit': ('numeroContratSouscrit', 'eligibiliteDebit'), + } + key = information[info][0] + value = information[info][1] + + ret = {} + ret.update({ + d[key]: d.get(value) + for d in self.doc['listCompteTitulaireCotitulaire'] + }) + ret.update({ + d[key]: d.get(value) + for p in self.doc['listCompteMandataire'].values() + for d in p + }) + ret.update({ + d[key]: d.get(value) + for p in self.doc['listCompteLegalRep'].values() + for d in p + }) + return ret + + def get_numbers(self): + transfer_numbers = self.get_transfer_info('numbers') + for key, value in transfer_numbers.items(): + assert value, "The 'numeroContratSouscrit' associated with the account index: %s is empty" % key + return transfer_numbers + + def get_eligibilite_debit(self): + return self.get_transfer_info('eligibilite_debit') + + @method + class iter_titu_accounts(DictElement): + item_xpath = 'listCompteTitulaireCotitulaire' + + class item(MyRecipientItemElement): + pass + + @method + class iter_manda_accounts(DictElement): + item_xpath = 'listCompteMandataire/*' + + class item(MyRecipientItemElement): + pass + + @method + class iter_legal_rep_accounts(DictElement): + item_xpath = 'listCompteLegalRep/*' + + class item(MyRecipientItemElement): + pass + + @method + class iter_external_recipients(DictElement): + item_xpath = 'listBeneficiaries' + ignore_duplicate = True + + class item(ItemElement): + klass = Recipient + + obj_id = obj_iban = Dict('iban') + obj_label = Dict('nom') + obj_category = 'Externe' + obj_enabled_at = dt.date.today() + obj__index = Dict('index') + + def condition(self): + return Dict('actif', default=False)(self) + + +class TransferPage(LoggedPage, JsonPage): + def on_load(self): + if self.doc.get('exception') and not self.doc.get('debitAccountOwner'): + if Dict('exception/type')(self.doc) == 1: + # technical error + assert False, 'Error with code %s occured during init_transfer: %s' % \ + (Dict('exception/code')(self.doc), Dict('exception/message')(self.doc)) + elif Dict('exception/type')(self.doc) == 2: + # user error + raise TransferBankError(message=Dict('exception/message')(self.doc)) + + def handle_transfer(self, account, recipient, amount, reason, exec_date): + transfer = Transfer() + transfer.amount = CleanDecimal(Dict('amount'))(self.doc) + transfer.currency = Currency(Dict('codeDevise'))(self.doc) + transfer.label = reason + + if exec_date: + transfer.exec_date = dt.date.fromtimestamp(int(Dict('date')(self.doc))//1000) + + transfer.account_id = account.id + transfer.account_label = CleanText(Dict('debitAccountLabel'))(self.doc) + transfer.account_balance = CleanDecimal(Dict('debitAccountBalance'))(self.doc) + + transfer.recipient_id = recipient.id + transfer.recipient_iban = recipient.iban + transfer.recipient_label = CleanText(Dict('creditAccountOwner'))(self.doc) + + return transfer + + def get_transfer_confirm_id(self): + return self.doc.get('numeroOperation') diff --git a/modules/cmso/pro/browser.py b/modules/cmso/pro/browser.py index 534ba0e22..47a9e58f3 100644 --- a/modules/cmso/pro/browser.py +++ b/modules/cmso/pro/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 smurail # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cmso/pro/pages.py b/modules/cmso/pro/pages.py index 145bb7f62..989f3ab24 100644 --- a/modules/cmso/pro/pages.py +++ b/modules/cmso/pro/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 smurail # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/colisprive/__init__.py b/modules/colisprive/__init__.py index 4f329e072..8b4b62d45 100644 --- a/modules/colisprive/__init__.py +++ b/modules/colisprive/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ColispriveModule diff --git a/modules/colisprive/browser.py b/modules/colisprive/browser.py index 4825a08cf..445e8eedb 100644 --- a/modules/colisprive/browser.py +++ b/modules/colisprive/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import TrackPage, ErrorPage diff --git a/modules/colisprive/module.py b/modules/colisprive/module.py index 1fe71fdcb..fa105257d 100644 --- a/modules/colisprive/module.py +++ b/modules/colisprive/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module from weboob.capabilities.parcel import CapParcel diff --git a/modules/colisprive/pages.py b/modules/colisprive/pages.py index 92a6b57e1..f3fbbb670 100644 --- a/modules/colisprive/pages.py +++ b/modules/colisprive/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date from weboob.browser.pages import HTMLPage diff --git a/modules/colissimo/__init__.py b/modules/colissimo/__init__.py index 2e5a2907d..6ac7c651b 100644 --- a/modules/colissimo/__init__.py +++ b/modules/colissimo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ColissimoModule diff --git a/modules/colissimo/browser.py b/modules/colissimo/browser.py index 54b6b394c..0d227aab3 100644 --- a/modules/colissimo/browser.py +++ b/modules/colissimo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.parcel import Event, ParcelNotFound from weboob.browser import PagesBrowser, URL diff --git a/modules/colissimo/module.py b/modules/colissimo/module.py index 27ea7f240..354f13fdc 100644 --- a/modules/colissimo/module.py +++ b/modules/colissimo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.parcel import CapParcel, ParcelNotFound, Parcel from weboob.tools.backend import Module diff --git a/modules/cpasbien/browser.py b/modules/cpasbien/browser.py index c16b3791d..c51484a1a 100644 --- a/modules/cpasbien/browser.py +++ b/modules/cpasbien/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/cpasbien/module.py b/modules/cpasbien/module.py index 1d081030a..1d9889024 100644 --- a/modules/cpasbien/module.py +++ b/modules/cpasbien/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import CapTorrent, Torrent from weboob.tools.backend import Module diff --git a/modules/cpasbien/pages.py b/modules/cpasbien/pages.py index 652c22e9b..9b0b429ce 100644 --- a/modules/cpasbien/pages.py +++ b/modules/cpasbien/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import Torrent diff --git a/modules/cpasbien/test.py b/modules/cpasbien/test.py index 4255d9871..5141f2cf7 100644 --- a/modules/cpasbien/test.py +++ b/modules/cpasbien/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/cragr/__init__.py b/modules/cragr/__init__.py index 0d37dbae4..c5ff897fc 100644 --- a/modules/cragr/__init__.py +++ b/modules/cragr/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CragrModule diff --git a/modules/cragr/api/browser.py b/modules/cragr/api/browser.py index 77b8c90c0..ba1b28fde 100644 --- a/modules/cragr/api/browser.py +++ b/modules/cragr/api/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2019 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -23,8 +23,8 @@ from __future__ import unicode_literals from decimal import Decimal import re -from weboob.capabilities.bank import Account, Transaction -from weboob.capabilities.base import empty, NotAvailable +from weboob.capabilities.bank import Account, Transaction, AccountNotFound, RecipientNotFound +from weboob.capabilities.base import empty, NotAvailable, strict_find_object from weboob.browser import LoginBrowser, URL, need_login from weboob.exceptions import BrowserUnavailable, BrowserIncorrectPassword, ActionNeeded from weboob.browser.exceptions import ServerError, BrowserHTTPNotFound @@ -37,6 +37,9 @@ from .pages import ( TokenPage, IbanPage, HistoryPage, CardsPage, CardHistoryPage, NetfincaRedirectionPage, PredicaRedirectionPage, PredicaInvestmentsPage, ProfilePage, ProfileDetailsPage, ProProfileDetailsPage, ) +from .transfer_pages import ( + RecipientsPage, TransferPage, TransferTokenPage, +) from weboob.tools.capabilities.bank.investments import create_french_liquidity @@ -129,6 +132,18 @@ class CragrAPI(LoginBrowser): r'agriculteur/operations/profil/infos-personnelles/controler-coordonnees.html', r'entreprise/operations/profil/infos-personnelles/controler-coordonnees.html', ProProfileDetailsPage) + recipients = URL('(?P.*)/operations/(?P.*)/virement/jcr:content.accounts.json', + RecipientsPage) + transfer_token = URL('(?P.*)/operations/(?P.*)/virement.npcgeneratetoken.json\?tokenTypeId=1', + TransferTokenPage) + transfer = URL('(?P.*)/operations/(?P.*)/virement/jcr:content.check-transfer.json', + TransferPage) + transfer_recap = URL('(?P.*)/operations/(?P.*)/virement/jcr:content.transfer-data.json\?useSession=true', + TransferPage) + transfer_exec = URL('(?P.*)/operations/(?P.*)/virement/jcr:content.process-transfer.json', + TransferPage) + + def __init__(self, website, *args, **kwargs): super(CragrAPI, self).__init__(*args, **kwargs) website = website.replace('.fr', '') @@ -410,6 +425,11 @@ class CragrAPI(LoginBrowser): } self.history.go(params=params) for tr in self.page.iter_history(): + # For "Livret A", value dates of transactions are always + # 1st or 15th of the month so we specify a valuation date. + # Example: rdate = 21/02, date=01/02 then vdate = 01/02. + if account.type == Account.TYPE_SAVINGS: + tr.vdate = tr.date yield tr # Get other transactions 100 by 100: @@ -517,16 +537,130 @@ class CragrAPI(LoginBrowser): return profile @need_login - def iter_transfer_recipients(self, account): - raise BrowserUnavailable() + def get_account_transfer_space_info(self, account): + self.go_to_account_space(account._contract) + + space = self.session.cookies['marche'] + connection_id = self.page.get_connection_id() + + operations = { + 'particulier': 'moyens-paiement', + 'professionnel': 'paiements-encaissements', + 'association': 'paiements-encaissements', + 'entreprise': 'paiements-encaissements', + } + + referer = self.absurl('/%s/operations/%s/virement.html.html' % (space, operations[space])) + + return space, operations[space], referer, connection_id + + @need_login + def iter_debit_accounts(self): + assert self.recipients.is_here() + for index, debit_accounts in enumerate(self.page.iter_debit_accounts()): + debit_accounts._index = index + yield debit_accounts + + @need_login + def iter_transfer_recipients(self, account, transfer_space_info=None): + # avoid to call `get_account_transfer_space_info()` several time + if transfer_space_info: + space, operation, referer = transfer_space_info + else: + space, operation, referer, _ = self.get_account_transfer_space_info(account) + + self.recipients.go(space=space, op=operation, headers={'Referer': referer}) + + if not self.page.is_sender_account(account.id): + return + + for index, internal_rcpt in enumerate(self.page.iter_internal_recipient(account_id=account.id)): + internal_rcpt._index = index + yield internal_rcpt + + # can't use 'ignore_duplicate' in DictElement because we need the 'index' to do transfer + seen = set() + for index, external_rcpt in enumerate(self.page.iter_external_recipient()): + external_rcpt._index = index + if external_rcpt.iban not in seen: + seen.add(external_rcpt.iban) + yield external_rcpt @need_login def init_transfer(self, transfer, **params): - raise BrowserUnavailable() + # first, get _account on account list to get recipient + _account = strict_find_object(self.get_accounts_list(), id=transfer.account_id, error=AccountNotFound) + + # get information to go on transfer page + space, operation, referer, connection_id = self.get_account_transfer_space_info(account=_account) + + recipient = strict_find_object( + self.iter_transfer_recipients(_account, transfer_space_info=(space, operation, referer)), + id=transfer.recipient_id, + error=RecipientNotFound + ) + # Then, get account on transfer account list to get index and other information + account = strict_find_object(self.iter_debit_accounts(), id=_account.id, error=AccountNotFound) + + # get token and transfer token to init transfer + token = self.token_page.go().get_token() + transfer_token = self.transfer_token.go(space=space, op=operation, headers={'Referer': referer}).get_token() + + data = { + 'connexionId': connection_id, + 'cr': self.session.cookies['caisse-regionale'], + 'creditAccountIban': recipient.iban, + 'creditAccountIndex': recipient._index, + 'debitAccountIndex': account._index, + 'debitAccountNumber': account.number, + 'externalAccount': recipient.category == 'Externe', + 'recipientName': recipient.label, + 'transferAmount': transfer.amount, + 'transferComplementaryInformation1': transfer.label, + 'transferComplementaryInformation2': '', + 'transferComplementaryInformation3': '', + 'transferComplementaryInformation4': '', + 'transferCurrencyCode': account.currency, + 'transferDate': transfer.exec_date.strftime('%d/%m/%Y'), + 'transferFrequency': 'U', + 'transferRef': '', + 'transferType': 'UNIQUE', + 'typeCompte': account.label, + } + # init transfer request + self.transfer.go( + space=space, + op=operation, + headers={'Referer': referer, 'CSRF-Token': token, 'NPC-Generated-Token': transfer_token}, + json=data + ) + assert self.page.check_transfer() + # get recap because it's not returned by init transfer request + self.transfer_recap.go( + space=space, + op=operation, + headers={'Referer': self.absurl('/%s/operations/%s/virement.postredirect.html' % (space, operation))} + ) + # information needed to exec transfer + transfer._space = space + transfer._operation = operation + transfer._token = token + transfer._connection_id = connection_id + return self.page.handle_response(transfer) @need_login def execute_transfer(self, transfer, **params): - raise BrowserUnavailable() + self.transfer_exec.go( + space=transfer._space, + op=transfer._operation, + headers={ + 'Referer': self.absurl('/%s/operations/%s/virement.postredirect.html' % (transfer._space, transfer._operation)), + 'CSRF-Token': transfer._token + }, + json={'connexionId': transfer._connection_id} + ) + assert self.page.check_transfer_exec() + return transfer @need_login def build_recipient(self, recipient): diff --git a/modules/cragr/api/netfinca_browser.py b/modules/cragr/api/netfinca_browser.py new file mode 100644 index 000000000..1cffad4f9 --- /dev/null +++ b/modules/cragr/api/netfinca_browser.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2012-2019 Budget Insight + + +from weboob.browser import AbstractBrowser + + +class NetfincaBrowser(AbstractBrowser): + PARENT = 'netfinca' + BASEURL = 'https://www.cabourse.credit-agricole.fr' diff --git a/modules/cragr/api/pages.py b/modules/cragr/api/pages.py index 5b908c371..9f67c2074 100644 --- a/modules/cragr/api/pages.py +++ b/modules/cragr/api/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2019 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -133,6 +133,7 @@ ACCOUNT_TYPES = { 'réserves de crédit': Account.TYPE_CHECKING, 'prêts personnels': Account.TYPE_LOAN, 'crédits immobiliers': Account.TYPE_LOAN, + 'ESC COM.': Account.TYPE_LOAN, 'épargne disponible': Account.TYPE_SAVINGS, 'épargne à terme': Account.TYPE_DEPOSIT, 'épargne boursière': Account.TYPE_MARKET, @@ -170,6 +171,13 @@ class AccountsPage(LoggedPage, JsonPage): } return OWNER_TYPES.get(Dict('marche')(self.doc), NotAvailable) + def get_connection_id(self): + connection_id = Regexp( + CleanText('//script[contains(text(), "NPC.utilisateur.ccptea")]'), + r"NPC.utilisateur.ccptea = '(\d+)';" + )(self.html_doc) + return connection_id + @method class get_main_account(ItemElement): klass = Account @@ -245,7 +253,7 @@ class AccountDetailsPage(LoggedPage, JsonPage): # Insurances have no balance, we skip them if el.get('typeProduit') == 'assurance': continue - value = el.get('solde', el.get('encoursActuel', el.get('valorisationContrat', el.get('montantRestantDu', el.get('capitalDisponible'))))) + value = el.get('solde', el.get('encoursActuel', el.get('valorisationContrat', el.get('montantRestantDu', el.get('capitalDisponible', el.get('montantUtilise')))))) if value is None: continue account_balances[Dict('idElementContrat')(el)] = float_to_decimal(value) diff --git a/modules/cragr/module.py b/modules/cragr/module.py index b47507a89..965d4765e 100644 --- a/modules/cragr/module.py +++ b/modules/cragr/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Xavier Guerrin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date from collections import OrderedDict diff --git a/modules/cragr/proxy_browser.py b/modules/cragr/proxy_browser.py index d4f21cbae..0cbe87dc7 100644 --- a/modules/cragr/proxy_browser.py +++ b/modules/cragr/proxy_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2019 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.switch import SwitchingBrowser diff --git a/modules/cragr/test.py b/modules/cragr/test.py index b9ec4e87b..af7b7cd94 100644 --- a/modules/cragr/test.py +++ b/modules/cragr/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/cragr/web/browser.py b/modules/cragr/web/browser.py index 6d4581698..01f9c5262 100644 --- a/modules/cragr/web/browser.py +++ b/modules/cragr/web/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/cragr/web/pages.py b/modules/cragr/web/pages.py index 14824a471..91322ec58 100644 --- a/modules/cragr/web/pages.py +++ b/modules/cragr/web/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2015 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/creditcooperatif/__init__.py b/modules/creditcooperatif/__init__.py index 82e96d992..3c63b907c 100644 --- a/modules/creditcooperatif/__init__.py +++ b/modules/creditcooperatif/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Kevin Pouget, based on Romain Bignon work # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CreditCooperatifModule diff --git a/modules/creditcooperatif/caisseepargne_browser.py b/modules/creditcooperatif/caisseepargne_browser.py index 07f124613..6f3995a4b 100644 --- a/modules/creditcooperatif/caisseepargne_browser.py +++ b/modules/creditcooperatif/caisseepargne_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Kevin Pouget # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser from .linebourse_browser import LinebourseAPIBrowser diff --git a/modules/creditcooperatif/cenet_browser.py b/modules/creditcooperatif/cenet_browser.py index 042724be8..d8c59a14c 100644 --- a/modules/creditcooperatif/cenet_browser.py +++ b/modules/creditcooperatif/cenet_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Kevin Pouget # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/creditcooperatif/linebourse_browser.py b/modules/creditcooperatif/linebourse_browser.py index eedbc2f57..a5ebe8079 100644 --- a/modules/creditcooperatif/linebourse_browser.py +++ b/modules/creditcooperatif/linebourse_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Fong Ngo # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/creditcooperatif/module.py b/modules/creditcooperatif/module.py index 64d1fc962..c84d3de80 100644 --- a/modules/creditcooperatif/module.py +++ b/modules/creditcooperatif/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Kevin Pouget # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankTransferAddRecipient from weboob.capabilities.profile import CapProfile diff --git a/modules/creditcooperatif/proxy_browser.py b/modules/creditcooperatif/proxy_browser.py index cb0af033c..903b9a2e1 100644 --- a/modules/creditcooperatif/proxy_browser.py +++ b/modules/creditcooperatif/proxy_browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2017 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.switch import SwitchingBrowser diff --git a/modules/creditcooperatif/test.py b/modules/creditcooperatif/test.py index 7f454f5a8..52fe2a84d 100644 --- a/modules/creditcooperatif/test.py +++ b/modules/creditcooperatif/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Kevin Pouget # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/creditdunord/__init__.py b/modules/creditdunord/__init__.py index 8c523e227..bbe2ba66e 100644 --- a/modules/creditdunord/__init__.py +++ b/modules/creditdunord/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CreditDuNordModule diff --git a/modules/creditdunord/browser.py b/modules/creditdunord/browser.py index cde5c547b..e44a9740c 100644 --- a/modules/creditdunord/browser.py +++ b/modules/creditdunord/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -118,8 +118,9 @@ class CreditDuNordBrowser(LoginBrowser): link = self.page.iban_go() for a in [a for a in accounts if a._acc_nb]: - self.location(link + a._acc_nb) - a.iban = self.page.get_iban() + if a.type != Account.TYPE_CARD: + self.location(link + a._acc_nb) + a.iban = self.page.get_iban() return accounts diff --git a/modules/creditdunord/module.py b/modules/creditdunord/module.py index 3b5456acb..2c1d42594 100644 --- a/modules/creditdunord/module.py +++ b/modules/creditdunord/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index f3f562edb..879d1ab77 100755 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -29,7 +29,7 @@ import re from weboob.browser.pages import HTMLPage, LoggedPage, JsonPage from weboob.browser.elements import method, ItemElement, TableElement -from weboob.browser.filters.standard import CleanText, Date, CleanDecimal, Regexp, Format, Field, Eval +from weboob.browser.filters.standard import CleanText, Date, CleanDecimal, Regexp, Format, Field, Eval, Lower from weboob.browser.filters.json import Dict from weboob.browser.filters.html import Attr, TableCell from weboob.exceptions import ActionNeeded, BrowserIncorrectPassword, BrowserUnavailable, BrowserPasswordExpired @@ -172,13 +172,15 @@ class LabelsPage(LoggedPage, JsonPage): raise ActionNeeded() def get_labels(self): - synthesis_labels = ["Synthèse"] - loan_labels = ["Crédits en cours", "Crédits perso et immo", "Crédits"] - for element in Dict('donnees/1/submenu')(self.doc): - if CleanText(Dict('label'))(element) in synthesis_labels: - synthesis_label = CleanText(Dict('link'))(element).split("/")[-1] - if CleanText(Dict('label'))(element) in loan_labels: - loan_label = CleanText(Dict('link'))(element).split("/")[-1] + synthesis_labels = ["synthèse"] + loan_labels = ["crédits en cours", "crédits perso et immo", "crédits", "crédits personnels et immobiliers"] + keys = [key for key in Dict('donnees')(self.doc) if key.get('label').lower() in ['crédits', 'comptes et cartes']] + for key in keys: + for element in Dict('submenu')(key): + if Lower(CleanText(Dict('label')))(element) in synthesis_labels: + synthesis_label = CleanText(Dict('link'))(element).split("/")[-1] + if CleanText(Dict('label'))(element).lower() in loan_labels: + loan_label = Lower(CleanText(Dict('link')))(element).split("/")[-1] return (synthesis_label, loan_label) @@ -693,6 +695,7 @@ class TransactionsPage(LoggedPage, CDNBasePage): col_quantity = u'Quantité' col_unitvalue = re.compile(u"Valeur liquidative") col_valuation = re.compile(u"Montant") + col_portfolio_share = 'Répartition (%)' class item(ItemElement): klass = Investment @@ -700,6 +703,18 @@ class TransactionsPage(LoggedPage, CDNBasePage): obj_quantity = MyDecimal(CleanText(TableCell('quantity'))) obj_valuation = MyDecimal(TableCell('valuation')) obj_unitvalue = MyDecimal(TableCell('unitvalue')) + + def obj_portfolio_share(self): + if MyDecimal(TableCell('portfolio_share'), default=None)(self): + return Eval(lambda x: x / 100, MyDecimal(TableCell('portfolio_share')))(self) + return NotAvailable + + def obj_code(self): + for code in Field('label')(self).split(): + if is_isin_valid(code): + return code + return NotAvailable + def obj_vdate(self): if Field('unitvalue') is NotAvailable: vdate = Date(dayfirst=True, default=NotAvailable)\ diff --git a/modules/creditdunord/test.py b/modules/creditdunord/test.py index c3ac16ba8..36084805a 100644 --- a/modules/creditdunord/test.py +++ b/modules/creditdunord/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/creditdunordpee/__init__.py b/modules/creditdunordpee/__init__.py index ca29cb12f..9fa745ab8 100644 --- a/modules/creditdunordpee/__init__.py +++ b/modules/creditdunordpee/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CreditdunordpeeModule diff --git a/modules/creditdunordpee/browser.py b/modules/creditdunordpee/browser.py index ae2a7cdff..4e4f7e888 100644 --- a/modules/creditdunordpee/browser.py +++ b/modules/creditdunordpee/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, need_login, URL diff --git a/modules/creditdunordpee/module.py b/modules/creditdunordpee/module.py index 9e7430860..9be6d14fa 100644 --- a/modules/creditdunordpee/module.py +++ b/modules/creditdunordpee/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/creditdunordpee/pages.py b/modules/creditdunordpee/pages.py index f24e3ac42..a542d0bb9 100644 --- a/modules/creditdunordpee/pages.py +++ b/modules/creditdunordpee/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/creditmutuel/__init__.py b/modules/creditmutuel/__init__.py index bbdb81e7b..c0e340644 100644 --- a/modules/creditmutuel/__init__.py +++ b/modules/creditmutuel/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CreditMutuelModule diff --git a/modules/creditmutuel/browser.py b/modules/creditmutuel/browser.py index dbf2f4f5c..1eaf06921 100644 --- a/modules/creditmutuel/browser.py +++ b/modules/creditmutuel/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -48,7 +48,8 @@ from .pages import ( LIAccountsPage, CardsActivityPage, CardsListPage, CardsOpePage, NewAccountsPage, InternalTransferPage, ExternalTransferPage, RevolvingLoanDetails, RevolvingLoansList, - ErrorPage, SubscriptionPage, NewCardsListPage, CardPage2 + ErrorPage, SubscriptionPage, NewCardsListPage, CardPage2, + ConditionsPage, ) @@ -136,6 +137,7 @@ class CreditMutuelBrowser(LoginBrowser, StatesMixin): error = URL(r'/(?P.*)validation/infos.cgi', ErrorPage) subscription = URL(r'/(?P.*)fr/banque/MMU2_LstDoc.aspx', SubscriptionPage) + terms_and_conditions = URL(r'/(?P.*)fr/banque/conditions-generales.html', ConditionsPage) currentSubBank = None is_new_website = None @@ -276,7 +278,7 @@ class CreditMutuelBrowser(LoginBrowser, StatesMixin): self.currentSubBank = 'banqueprivee/mabanque/' if self.currentSubBank and paths[1] == "decouverte": self.currentSubBank += paths[1] + "/" - if paths[0] in ["fr", "mabanque"]: + if paths[0] in ["fr", "mabanque", "banqueprivee"]: self.is_new_website = True def list_operations(self, page, account): diff --git a/modules/creditmutuel/module.py b/modules/creditmutuel/module.py index 9595aad89..2d1cfedd1 100644 --- a/modules/creditmutuel/module.py +++ b/modules/creditmutuel/module.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index 743514966..11e917c3b 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -1821,7 +1821,9 @@ class SubscriptionPage(LoggedPage, HTMLPage): class item(ItemElement): def condition(self): - return Env('sub_id')(self) == Regexp(CleanText(TableCell('label'), replace=[('.', ''), (' ', '')]), r'(\d+)')(self) + # For some documents like "Synthèse ISF", the label column is empty. + # Consequently we can't associate the document to an account: we skip it. + return CleanText(TableCell('label'))(self) and Env('sub_id')(self) == Regexp(CleanText(TableCell('label'), replace=[('.', ''), (' ', '')]), r'(\d+)')(self) klass = Document @@ -1948,3 +1950,6 @@ class NewCardsListPage(LoggedPage, HTMLPage): if other_cards: return Link(other_cards)(self) + +class ConditionsPage(LoggedPage, HTMLPage): + pass diff --git a/modules/creditmutuel/test.py b/modules/creditmutuel/test.py index 73d3c6928..ffc922c32 100644 --- a/modules/creditmutuel/test.py +++ b/modules/creditmutuel/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/cuisineaz/__init__.py b/modules/cuisineaz/__init__.py index e707f2575..db0c1dffc 100644 --- a/modules/cuisineaz/__init__.py +++ b/modules/cuisineaz/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import CuisineazModule diff --git a/modules/cuisineaz/browser.py b/modules/cuisineaz/browser.py index f2c557338..f109f5f2c 100644 --- a/modules/cuisineaz/browser.py +++ b/modules/cuisineaz/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/cuisineaz/module.py b/modules/cuisineaz/module.py index 46e419450..afae263fc 100644 --- a/modules/cuisineaz/module.py +++ b/modules/cuisineaz/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import CapRecipe, Recipe from weboob.tools.backend import Module diff --git a/modules/cuisineaz/pages.py b/modules/cuisineaz/pages.py index c9ae7d9bc..73099f175 100644 --- a/modules/cuisineaz/pages.py +++ b/modules/cuisineaz/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import Recipe, Comment diff --git a/modules/cuisineaz/test.py b/modules/cuisineaz/test.py index e566d1212..253accf23 100644 --- a/modules/cuisineaz/test.py +++ b/modules/cuisineaz/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest import itertools diff --git a/modules/dailymotion/browser.py b/modules/dailymotion/browser.py index 684a6acde..ad6bf29a0 100644 --- a/modules/dailymotion/browser.py +++ b/modules/dailymotion/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/dailymotion/module.py b/modules/dailymotion/module.py index 7c0513277..5fdd2b4db 100644 --- a/modules/dailymotion/module.py +++ b/modules/dailymotion/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/dailymotion/pages.py b/modules/dailymotion/pages.py index 81cc41e64..01d72772c 100644 --- a/modules/dailymotion/pages.py +++ b/modules/dailymotion/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.elements import ItemElement, ListElement, method from weboob.browser.pages import HTMLPage, pagination diff --git a/modules/dailymotion/test.py b/modules/dailymotion/test.py index cf2008e80..cd08b42a6 100644 --- a/modules/dailymotion/test.py +++ b/modules/dailymotion/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/deathbycaptcha/__init__.py b/modules/deathbycaptcha/__init__.py index dc3bfb3c0..811e5f42c 100644 --- a/modules/deathbycaptcha/__init__.py +++ b/modules/deathbycaptcha/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/deathbycaptcha/browser.py b/modules/deathbycaptcha/browser.py index 9bc720298..f07e21a49 100644 --- a/modules/deathbycaptcha/browser.py +++ b/modules/deathbycaptcha/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/deathbycaptcha/module.py b/modules/deathbycaptcha/module.py index 4d9341f5f..e5ecae76a 100644 --- a/modules/deathbycaptcha/module.py +++ b/modules/deathbycaptcha/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/deathbycaptcha/test.py b/modules/deathbycaptcha/test.py index 70af26fb4..1efdab3e2 100644 --- a/modules/deathbycaptcha/test.py +++ b/modules/deathbycaptcha/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/delubac/__init__.py b/modules/delubac/__init__.py index df6b3dc65..aeda47a1e 100644 --- a/modules/delubac/__init__.py +++ b/modules/delubac/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Noe Rubinstein # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU Lesser General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . from .module import DelubacModule diff --git a/modules/delubac/browser.py b/modules/delubac/browser.py index 0cce002ff..26444a50b 100644 --- a/modules/delubac/browser.py +++ b/modules/delubac/browser.py @@ -2,83 +2,46 @@ # Copyright(C) 2015 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU Lesser General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . +from __future__ import unicode_literals import time -from weboob.browser import LoginBrowser, URL, need_login -from weboob.exceptions import BrowserIncorrectPassword -from weboob.capabilities.bank import AccountNotFound -from weboob.capabilities.base import find_object, NotAvailable +from weboob.browser import URL, need_login, AbstractBrowser - -from .pages import LoginPage, MenuPage, AccountsPage, HistoryPage, IbanPage, ErrorPage +from .pages import LoginPage, MenuPage __all__ = ['DelubacBrowser'] -class DelubacBrowser(LoginBrowser): +class DelubacBrowser(AbstractBrowser): + PARENT = 'themisbanque' + PARENT_ATTR = 'package.browser.ThemisBrowser' + BASEURL = 'https://e.delubac.com' - home = URL('/es@b/fr/esab.jsp') login = URL('/es@b/fr/codeident.jsp', '/es@b/servlet/internet0.ressourceWeb.servlet.Login', LoginPage) menu = URL('/es@b/fr/menuConnecte1.jsp\?c&deploye=false&pulseMenu=false&styleLien=false&dummyDate=(?P.*)', MenuPage) - accounts = URL('/es@b/servlet/internet0.ressourceWeb.servlet.EsabServlet.*', AccountsPage) - history = URL('/es@b/servlet/internet0.ressourceWeb.servlet.ListeDesMouvementsServlet.*', HistoryPage) - error = URL('/es@b/servlet/internet0.ressourceWeb.servlet.*', ErrorPage) - iban = URL('/es@b/fr/rib.jsp', IbanPage) - - def do_login(self): - self.home.go() - self.login.go() - - self.page.login(self.username, self.password) - - if self.page.incorrect_auth: - raise BrowserIncorrectPassword() @need_login def iter_accounts(self): self.menu.go(date=int(time.time()*1000)) self.location(self.page.accounts_url) - for account in self.page.get_list(): - self.location(account._rib_link) - account.iban = self.page.get_iban() + for account in self.page.iter_accounts(): yield account - - @need_login - def get_account(self, _id): - return find_object(self.iter_accounts(), id=_id, error=AccountNotFound) - - @need_login - def iter_history(self, account): - if account._link is not NotAvailable: - self.location(account._link) - else: - return [] - - if self.error.is_here(): - return iter([]) - return self.page.get_transactions() - - @need_login - def get_profile(self): - accounts = list(self.iter_accounts()) - self.location(accounts[0]._rib_link) - return self.page.get_profile() diff --git a/modules/delubac/module.py b/modules/delubac/module.py index a0549cb27..3a1c625cb 100644 --- a/modules/delubac/module.py +++ b/modules/delubac/module.py @@ -2,24 +2,23 @@ # Copyright(C) 2013 Noe Rubinstein # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU Lesser General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank -from weboob.capabilities.profile import CapProfile -from weboob.tools.backend import Module, BackendConfig +from weboob.tools.backend import AbstractModule, BackendConfig from weboob.tools.value import ValueBackendPassword from .browser import DelubacBrowser @@ -28,30 +27,22 @@ from .browser import DelubacBrowser __all__ = ['DelubacModule'] -class DelubacModule(Module, CapBank, CapProfile): +class DelubacModule(AbstractModule, CapBank): NAME = 'delubac' DESCRIPTION = u'Banque Delubac & Cie' MAINTAINER = u'Noe Rubinstein' EMAIL = 'nru@budget-insight.com' VERSION = '1.5' + LICENSE = 'LGPLv3+' BROWSER = DelubacBrowser CONFIG = BackendConfig(ValueBackendPassword('login', label='Identifiant', masked=False), ValueBackendPassword('password', label='Mot de passe', regexp='^\d+$')) + PARENT = 'themisbanque' def create_default_browser(self): return self.create_browser(self.config['login'].get(), - self.config['password'].get()) + self.config['password'].get(), + weboob=self.weboob) - def iter_accounts(self): - return self.browser.iter_accounts() - - def get_account(self, _id): - return self.browser.get_account(_id) - - def iter_history(self, account, coming=False): - return self.browser.iter_history(account) - - def get_profile(self): - return self.browser.get_profile() diff --git a/modules/delubac/pages.py b/modules/delubac/pages.py index 34de8c5c1..74eaa0231 100644 --- a/modules/delubac/pages.py +++ b/modules/delubac/pages.py @@ -2,44 +2,28 @@ # Copyright(C) 2015 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU Lesser General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . import re from io import BytesIO -from weboob.capabilities.bank import Account -from weboob.capabilities.profile import Profile -from weboob.browser.pages import HTMLPage, LoggedPage, pagination -from weboob.browser.elements import ListElement, ItemElement, method +from weboob.browser.pages import HTMLPage, LoggedPage from weboob.exceptions import ParseError, ActionNeeded from weboob.tools.captcha.virtkeyboard import GridVirtKeyboard -from weboob.tools.compat import basestring -from weboob.browser.filters.standard import CleanText, CleanDecimal, Field, Format, Date, Filter -from weboob.browser.filters.html import Link -from weboob.tools.capabilities.bank.transactions import FrenchTransaction -from weboob.capabilities.base import NotAvailable - - -class Transaction(FrenchTransaction): - PATTERNS = [(re.compile(u'^CARTE DU'), FrenchTransaction.TYPE_CARD), - (re.compile(u'^(VIR (SEPA)?|Vir|VIR.)(?P.*)'), FrenchTransaction.TYPE_TRANSFER), - (re.compile(u'^VIREMENT DE (?P.*)'), FrenchTransaction.TYPE_TRANSFER), - (re.compile(u'^(CHQ|CHEQUE) (?P.*)'), FrenchTransaction.TYPE_CHECK), - (re.compile(u'^(PRLV SEPA|PRELEVEMENT) (?P.*)'), FrenchTransaction.TYPE_ORDER), - ] +from weboob.browser.filters.standard import CleanText class DelubacVirtKeyboard(GridVirtKeyboard): @@ -160,130 +144,3 @@ class MenuPage(LoggedPage, HTMLPage): @property def accounts_url(self): return self.get_link(u'Comptes') - - -class AccountsPage(LoggedPage, HTMLPage): - TYPES = {'COMPTE COURANT': Account.TYPE_CHECKING, - 'COMPTE TRANSACTION': Account.TYPE_CHECKING, - 'COMPTE ORDINAIRE': Account.TYPE_CHECKING - } - - is_here = u'//title[text() = "Solde de chacun de vos comptes"]' - - def accounts_list_condition(self, el): - return len(el.xpath('./td')) >= 6 and CleanDecimal('td[@class="ColonneNumerique"]', replace_dots=True, default=NotAvailable)(el) is not NotAvailable - - @method - class get_list(ListElement): - item_xpath = '//tr' - - class item(ItemElement): - klass = Account - - def condition(self): - return self.page.accounts_list_condition(self.el) - - class Type(Filter): - def filter(self, label): - for pattern, actype in AccountsPage.TYPES.items(): - if pattern in label: - return actype - return Account.TYPE_UNKNOWN - - obj__title = CleanText('td[@class="ColonneLibelle"][2]') - obj__nature = CleanText('td[@class="ColonneLibelle"][3]') - obj_label = Format('%s %s', Field('_title'), Field('_nature')) - obj_currency = FrenchTransaction.Currency('./td[@class="ColonneCode"]') - obj_id = CleanText('td[@class="ColonneLibelle"][1]') - obj__link = Link('td[@class="ColonneLibelle"][1]/a', default=NotAvailable) - obj__rib_link = Link('.//a[contains(@href, "rib.jsp")]') - obj_type = Type(Field('label')) - obj_balance = CleanDecimal('td[@class="ColonneNumerique"]/nobr', replace_dots=True) - - -class HistoryPage(LoggedPage, HTMLPage): - is_here = u'//title[text() = "Liste des opérations sur un compte"]' - - def find_transactions_elements(self, el): - return el.xpath('//tr') - - def transactions_list_next_page(self, el): - for script in el.xpath('//script'): - m = re.search(r"""getCodePagination\('(?P\d+)','(?P\d+)','(?P[^']+)'""", script.text or '', flags=re.MULTILINE) - if m: - next_page = int(m.group('current_page')) + 1 - max_page = int(m.group('max_page')) - if next_page <= max_page: - return m.group('link') + '&numeroPage=' + str(next_page) - - @pagination - @method - class get_transactions(ListElement): - def find_elements(self): - return self.page.find_transactions_elements(self.el) - - def next_page(self): - return self.page.transactions_list_next_page(self.el) - - class item(ItemElement): - klass = Transaction - - def condition(self): - if len(self.el.xpath('./td')) < 5 or len(self.el.xpath('./td[@class="TitreTableau"]')) > 0: - return False - return True - - obj_raw = Transaction.Raw('.//td[@class="ColonneLibelle"]') - obj_amount = CleanDecimal('.//td[4] | .//td[5]', replace_dots=True) - obj_date = Date(CleanText('.//td[1]'), dayfirst=True) - obj_vdate = Date(CleanText('.//td[3]'), dayfirst=True) - - def get_iban(self): - iban_link = Link('//a[contains(@href, "rib")]', default=NotAvailable)(self.doc) - if not iban_link: - return NotAvailable - self.browser.location(iban_link) - return self.browser.page.get_iban() - - -class MyCleanText(CleanText): - @classmethod - def clean(cls, txt, children=True, newlines=True, normalize='NFC'): - if not isinstance(txt, basestring): - txt = u'\n'.join([t.strip() for t in txt.itertext()]) - - return txt - - -class IbanPage(LoggedPage, HTMLPage): - def get_iban(self): - return CleanText('//td[contains(text(), "IBAN") and @class="ColonneCode"]', replace=[('IBAN', ''), (' ', '')])(self.doc) - - def get_profile(self): - profile = Profile() - - # profile is inside a separated with a simple
without or
- profile_txt = MyCleanText('//div[@class="TableauAffichage"]/table/tr[3]/td[1]')(self.doc).split('\n') - i_name = 0 - profile.name = u'' - # name can be on one, two, (more ?) lines, so we stop when line start by a number, we suppose it's the address number - while not re.search('^\d', profile_txt[i_name]): - profile.name += ' ' + profile_txt[i_name] - i_name += 1 - - profile.name = profile.name.strip() - profile.address = u'' - # address is not always on two lines, so we consider every lines from here to before last are address, (last one is country) - for i in range(i_name, len(profile_txt)-1): - profile.address += ' ' + profile_txt[i] - - profile.address = profile.address.strip() - profile.country = profile_txt[-1] - - profile.name = profile.name.replace('MONSIEUR ', '').replace('MADAME ', '') - - return profile - - -class ErrorPage(LoggedPage, HTMLPage): - is_here = u'//div[contains(., "Une erreur technique s\'est produite dans l\'application ")]' diff --git a/modules/delubac/test.py b/modules/delubac/test.py index e838b727c..72a070794 100644 --- a/modules/delubac/test.py +++ b/modules/delubac/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Noe Rubinstein # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU Lesser General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/dhl/__init__.py b/modules/dhl/__init__.py index 353e75c9d..2b7a62837 100644 --- a/modules/dhl/__init__.py +++ b/modules/dhl/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import DHLModule diff --git a/modules/dhl/browser.py b/modules/dhl/browser.py index 5b74fb017..dd6fd2ff2 100644 --- a/modules/dhl/browser.py +++ b/modules/dhl/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/dhl/module.py b/modules/dhl/module.py index 6ee989cde..9305f60ba 100644 --- a/modules/dhl/module.py +++ b/modules/dhl/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/dhl/pages.py b/modules/dhl/pages.py index 4d7ff5aad..4558b0e9d 100644 --- a/modules/dhl/pages.py +++ b/modules/dhl/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from dateutil.parser import parse as parse_date diff --git a/modules/dhl/test.py b/modules/dhl/test.py index ff21a3dd9..d0fc52831 100644 --- a/modules/dhl/test.py +++ b/modules/dhl/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/dlfp/__init__.py b/modules/dlfp/__init__.py index 23fad01c2..f684d8ce1 100644 --- a/modules/dlfp/__init__.py +++ b/modules/dlfp/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .browser import DLFP diff --git a/modules/dlfp/browser.py b/modules/dlfp/browser.py index 30908041c..f71ae6c03 100644 --- a/modules/dlfp/browser.py +++ b/modules/dlfp/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re import hashlib diff --git a/modules/dlfp/module.py b/modules/dlfp/module.py index 854992bae..3c9cca8e0 100644 --- a/modules/dlfp/module.py +++ b/modules/dlfp/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime, timedelta diff --git a/modules/dlfp/pages/board.py b/modules/dlfp/pages/board.py index 8251b07dd..4bbe8a353 100644 --- a/modules/dlfp/pages/board.py +++ b/modules/dlfp/pages/board.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/dlfp/pages/index.py b/modules/dlfp/pages/index.py index e798c84ff..03324b374 100644 --- a/modules/dlfp/pages/index.py +++ b/modules/dlfp/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, FormNotFound diff --git a/modules/dlfp/pages/news.py b/modules/dlfp/pages/news.py index 1c77f6c62..2f4a22008 100644 --- a/modules/dlfp/pages/news.py +++ b/modules/dlfp/pages/news.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/dlfp/pages/wiki.py b/modules/dlfp/pages/wiki.py index c71cdd048..470964058 100644 --- a/modules/dlfp/pages/wiki.py +++ b/modules/dlfp/pages/wiki.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import lxml.html diff --git a/modules/dlfp/test.py b/modules/dlfp/test.py index fa19e3a55..8e347a857 100644 --- a/modules/dlfp/test.py +++ b/modules/dlfp/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/dlfp/tools.py b/modules/dlfp/tools.py index 7a6565ee6..b2b7d2e23 100644 --- a/modules/dlfp/tools.py +++ b/modules/dlfp/tools.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/dpd/__init__.py b/modules/dpd/__init__.py index 84d284fe9..723e406a1 100644 --- a/modules/dpd/__init__.py +++ b/modules/dpd/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import DPDModule diff --git a/modules/dpd/browser.py b/modules/dpd/browser.py index 0f8221ed1..2ee4aa1bd 100644 --- a/modules/dpd/browser.py +++ b/modules/dpd/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/dpd/module.py b/modules/dpd/module.py index cec6b3f60..ef4f3b773 100644 --- a/modules/dpd/module.py +++ b/modules/dpd/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/dpd/pages.py b/modules/dpd/pages.py index b830aadca..222106449 100644 --- a/modules/dpd/pages.py +++ b/modules/dpd/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from dateutil.parser import parse as parse_date diff --git a/modules/dpd/test.py b/modules/dpd/test.py index ffb24d8fb..a4bc0d45e 100644 --- a/modules/dpd/test.py +++ b/modules/dpd/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/dresdenwetter/__init__.py b/modules/dresdenwetter/__init__.py index a8e76f7ff..ac2cdfe27 100644 --- a/modules/dresdenwetter/__init__.py +++ b/modules/dresdenwetter/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import DresdenWetterModule diff --git a/modules/dresdenwetter/browser.py b/modules/dresdenwetter/browser.py index 380be9cd8..17e541f7b 100644 --- a/modules/dresdenwetter/browser.py +++ b/modules/dresdenwetter/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/dresdenwetter/module.py b/modules/dresdenwetter/module.py index fb2034988..0b802b65c 100644 --- a/modules/dresdenwetter/module.py +++ b/modules/dresdenwetter/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .browser import DresdenWetterBrowser diff --git a/modules/dresdenwetter/pages.py b/modules/dresdenwetter/pages.py index 32a2bfbc4..af113d2aa 100644 --- a/modules/dresdenwetter/pages.py +++ b/modules/dresdenwetter/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage from weboob.browser.elements import ListElement, ItemElement, method diff --git a/modules/dresdenwetter/test.py b/modules/dresdenwetter/test.py index 06cff279f..4834e7092 100644 --- a/modules/dresdenwetter/test.py +++ b/modules/dresdenwetter/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest, skip_without_config diff --git a/modules/ebonics/__init__.py b/modules/ebonics/__init__.py index 7702e8998..577f946a0 100644 --- a/modules/ebonics/__init__.py +++ b/modules/ebonics/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import EbonicsModule diff --git a/modules/ebonics/module.py b/modules/ebonics/module.py index a70801b1f..cc482dfb2 100644 --- a/modules/ebonics/module.py +++ b/modules/ebonics/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2018 Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import URL, PagesBrowser diff --git a/modules/ebonics/test.py b/modules/ebonics/test.py index cf8ee3f32..b23dd5480 100644 --- a/modules/ebonics/test.py +++ b/modules/ebonics/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/edf/__init__.py b/modules/edf/__init__.py index b682b94f7..f5912feb1 100644 --- a/modules/edf/__init__.py +++ b/modules/edf/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import EdfModule diff --git a/modules/edf/module.py b/modules/edf/module.py index c46305eac..1ba283516 100644 --- a/modules/edf/module.py +++ b/modules/edf/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Document, SubscriptionNotFound, DocumentNotFound diff --git a/modules/edf/par/browser.py b/modules/edf/par/browser.py index d0c4d343d..f2c18e028 100644 --- a/modules/edf/par/browser.py +++ b/modules/edf/par/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from time import time @@ -92,10 +92,8 @@ class EdfBrowser(LoginBrowser): """ self.check_authenticate.go() else: - self.home.go() + self.authenticate.go(method='POST', params=auth_params) if self.page.has_captcha_request(): - # google recaptcha site key is returned here, but it's not a good one, take it from another url - self.authenticate.go(method='POST', params=auth_params) data = self.page.get_data() website_key = data['callbacks'][4]['output'][0]['value'] website_url = "https://espace-client.edf.fr/sso/XUI/#login/&realm=%2FINTERNET" diff --git a/modules/edf/par/pages.py b/modules/edf/par/pages.py index 14ad2f229..0565e3749 100644 --- a/modules/edf/par/pages.py +++ b/modules/edf/par/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -33,11 +33,13 @@ from weboob.capabilities.profile import Profile class HomePage(HTMLPage): - def has_captcha_request(self): - return len(self.doc.xpath('//div[@class="captcha"]')) > 0 + pass class AuthenticatePage(JsonPage): + def has_captcha_request(self): + return self.doc['stage'] == "RecaptchaModuleS1" + def get_data(self): return self.doc diff --git a/modules/edf/pro/browser.py b/modules/edf/pro/browser.py index 3b44507a3..4ac3843d7 100644 --- a/modules/edf/pro/browser.py +++ b/modules/edf/pro/browser.py @@ -2,25 +2,23 @@ # Copyright(C) 2016 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals -import json - from datetime import datetime, timedelta from weboob.browser import LoginBrowser, URL, need_login @@ -30,7 +28,7 @@ from weboob.browser.exceptions import ServerError, ClientError from .pages import ( LoginPage, HomePage, AuthPage, ErrorPage, LireSitePage, - SubscriptionsPage, BillsPage, DocumentsPage, ProfilePage, + SubscriptionsPage, SubscriptionsAccountPage, BillsPage, DocumentsPage, ProfilePage, ) @@ -43,15 +41,14 @@ class EdfproBrowser(LoginBrowser): error = URL(r'/page_erreur/', ErrorPage) home = URL('/ice/content/ice-pmse/homepage.html', HomePage) liresite = URL(r'/rest/homepagemp/liresite', LireSitePage) - contracts = URL('/rest/contratmp/consultercontrats', SubscriptionsPage) + subscriptions = URL('/rest/homepagemp/lireprofilsfacturation', SubscriptionsPage) + contracts = URL('/rest/contratmp/consultercontrats', SubscriptionsAccountPage) bills = URL('/rest/facturemp/getnomtelechargerfacture', BillsPage) documents = URL('/rest/facturemp/recherchefacture', DocumentsPage) profile = URL('/rest/servicemp/consulterinterlocuteur', ProfilePage) def __init__(self, config, *args, **kwargs): self.config = config - self.cache = {} - self.cache['docs'] = {} kwargs['username'] = self.config['login'].get() kwargs['password'] = self.config['password'].get() super(EdfproBrowser, self).__init__(*args, **kwargs) @@ -60,7 +57,7 @@ class EdfproBrowser(LoginBrowser): self.login.go('/openam/json/authenticate', method='POST') login_data = self.page.get_data(self.username, self.password) try: - self.login.go(data=json.dumps(login_data), headers={'Content-Type': 'application/json'}) + self.login.go(json=login_data) except ClientError as e: raise BrowserIncorrectPassword(e.response.json()['message']) @@ -78,41 +75,48 @@ class EdfproBrowser(LoginBrowser): @need_login def get_subscription_list(self): - self.liresite.go(data=json.dumps({"numPremierSitePage": 0, "pageSize": 100000, "idTdg": None, - "critereFiltre": [], "critereTri": []})) + self.liresite.go(json={"numPremierSitePage": 0, "pageSize": 100000, "idTdg": None, + "critereFiltre": [], "critereTri": []}) id_site_list = self.page.get_id_site_list() if not id_site_list: raise ActionNeeded("Vous ne disposez d'aucun contrat actif relatif à vos sites") - if "subs" not in self.cache.keys(): - self.contracts.go(data=json.dumps({'refDevisOMList': [], 'refDevisOHList': id_site_list})) + data = { + 'critereFiltre': [], + 'critereTri': [], + 'idTdg': None, + 'pageSize': 100000, + 'startRowNum': 0 + } + + sub_page = self.subscriptions.go(json=data) + self.contracts.go(json={'refDevisOMList': [], 'refDevisOHList': id_site_list}) - self.cache['subs'] = [s for s in self.page.get_subscriptions()] - return self.cache['subs'] + for sub in sub_page.get_subscriptions(): + self.page.update_subscription(sub) + yield sub @need_login def iter_documents(self, subscription): - if subscription.id not in self.cache['docs']: - try: - self.documents.go(data=json.dumps({ - 'dateDebut': (datetime.now() - timedelta(weeks=156)).strftime('%d/%m/%Y'), - 'dateFin': datetime.now().strftime('%d/%m/%Y'), - 'element': subscription._refdevis, - 'typeElementListe': 'CONTRAT' - })) - - self.cache['docs'][subscription.id] = [d for d in self.page.get_documents()] - except ServerError: - self.cache['docs'][subscription.id] = [] - return self.cache['docs'][subscription.id] + try: + self.documents.go(json={ + 'dateDebut': (datetime.now() - timedelta(weeks=156)).strftime('%d/%m/%Y'), + 'dateFin': datetime.now().strftime('%d/%m/%Y'), + 'element': subscription._account_id, + 'typeElementListe': 'ID_FELIX' + }) + + return self.page.get_documents() + except ServerError: + return [] @need_login def download_document(self, document): if document.url is not NotAvailable: try: - self.bills.go(data=json.dumps({'date': int(document.date.strftime('%s')), - 'iDFelix': document._account_billing, - 'numFacture': document._bill_number})) + self.bills.go(json={'date': int(document.date.strftime('%s')), + 'iDFelix': document._account_billing, + 'numFacture': document._bill_number}) return self.open('%s/rest/facturemp/telechargerfichier?fname=%s' % ( self.BASEURL, self.page.get_bill_name())).content diff --git a/modules/edf/pro/pages.py b/modules/edf/pro/pages.py index e0be896da..fee4a1e39 100644 --- a/modules/edf/pro/pages.py +++ b/modules/edf/pro/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Jean Walrave # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -24,7 +24,6 @@ from datetime import date from weboob.browser.pages import JsonPage, HTMLPage, RawPage, LoggedPage from weboob.browser.elements import DictElement, ItemElement, method from weboob.browser.filters.standard import CleanDecimal, CleanText -from weboob.browser.filters.html import CleanHTML from weboob.browser.filters.json import Dict from weboob.capabilities.bill import DocumentTypes, Subscription, Bill from weboob.exceptions import ActionNeeded @@ -65,21 +64,54 @@ class LireSitePage(LoggedPage, JsonCguPage): return [site['idSite'] for site in self.doc['site']] -class SubscriptionsPage(LoggedPage, JsonCguPage): +class SubscriptionsPage(LoggedPage, JsonPage): @method class get_subscriptions(DictElement): - item_xpath = 'listeContrat' + item_xpath = 'profilFacturation' class item(ItemElement): klass = Subscription - obj_id = CleanText(Dict('refDevisLabel')) - obj__refdevis = CleanText(Dict('refDevis')) - obj_label = CleanText(CleanHTML(Dict('nomOffreModele'))) - - def obj_subscriber(self): - return ('%s %s' % (Dict('prenomIntPrinc')(self).lower(), - Dict('nomIntPrinc')(self).lower())).title() + obj_id = CleanText(Dict('idPFLabel')) + obj__account_id = CleanText(Dict('idCompteDeFacturation')) + + +class SubscriptionsAccountPage(LoggedPage, JsonCguPage): + @classmethod + def _get_similarity_among_id(cls, sub_id, account_id): + """ + sometimes there are several sub_id and several account_id + sub_id looks like 1-UD8Z6FPO + and account_id 1-UD8Z6F7S + when a sub_id and an account_id are related their id are not completely identical but close + this function count numbers of char that are identical from the beginning until one char is different + more the count value is high more there is a chance that both id are from related objects (subscription and account) + """ + _, sub_id_value = sub_id.split('-', 1) + _, account_id_value = account_id.split('-', 1) + + count = 0 + for idx, c in enumerate(sub_id_value): + if idx >= len(account_id_value): + return count + if account_id_value[idx] != c: + return count + count += 1 + + return count + + def update_subscription(self, subscription): + good_con = None + best_matching = 0 + for con in self.doc['listeContrat']: + matching = self._get_similarity_among_id(subscription.id, con['refDevisLabel']) + if matching > best_matching: + best_matching = matching + good_con = con + + if good_con: + subscription.label = good_con['nomOffreModele'] + subscription.subscriber = (good_con['prenomIntPrinc'] + ' ' + good_con['nomIntPrinc']).title() class BillsPage(LoggedPage, JsonPage): diff --git a/modules/ekwateur/__init__.py b/modules/ekwateur/__init__.py index c85718c8d..e95802b86 100644 --- a/modules/ekwateur/__init__.py +++ b/modules/ekwateur/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ekwateur/browser.py b/modules/ekwateur/browser.py index e960a1d57..a4598da20 100644 --- a/modules/ekwateur/browser.py +++ b/modules/ekwateur/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ekwateur/module.py b/modules/ekwateur/module.py index 88c393098..928f63673 100644 --- a/modules/ekwateur/module.py +++ b/modules/ekwateur/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ekwateur/pages.py b/modules/ekwateur/pages.py index 5d79b4a22..0ed1b0e20 100644 --- a/modules/ekwateur/pages.py +++ b/modules/ekwateur/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ekwateur/test.py b/modules/ekwateur/test.py index 98b18b815..38ae62548 100644 --- a/modules/ekwateur/test.py +++ b/modules/ekwateur/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ensap/__init__.py b/modules/ensap/__init__.py index b983dc6ea..ba0d3d076 100644 --- a/modules/ensap/__init__.py +++ b/modules/ensap/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Juliette Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ensap/browser.py b/modules/ensap/browser.py index 7811237f5..43fdc3a19 100644 --- a/modules/ensap/browser.py +++ b/modules/ensap/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Juliette Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ensap/module.py b/modules/ensap/module.py index 768b6749e..7edf72006 100644 --- a/modules/ensap/module.py +++ b/modules/ensap/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Juliette Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ensap/pages.py b/modules/ensap/pages.py index 391b8c43e..2290215ee 100644 --- a/modules/ensap/pages.py +++ b/modules/ensap/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Juliette Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/entreparticuliers/__init__.py b/modules/entreparticuliers/__init__.py index 638821c38..468f5861d 100644 --- a/modules/entreparticuliers/__init__.py +++ b/modules/entreparticuliers/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import EntreparticuliersModule diff --git a/modules/entreparticuliers/browser.py b/modules/entreparticuliers/browser.py index 4d7a92962..d366f6862 100644 --- a/modules/entreparticuliers/browser.py +++ b/modules/entreparticuliers/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.json import json diff --git a/modules/entreparticuliers/module.py b/modules/entreparticuliers/module.py index 9853c7167..3707b3713 100644 --- a/modules/entreparticuliers/module.py +++ b/modules/entreparticuliers/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/entreparticuliers/pages.py b/modules/entreparticuliers/pages.py index ed4051d87..a0748bfca 100644 --- a/modules/entreparticuliers/pages.py +++ b/modules/entreparticuliers/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from lxml import objectify diff --git a/modules/entreparticuliers/test.py b/modules/entreparticuliers/test.py index 7a1ad5d52..fae88be67 100644 --- a/modules/entreparticuliers/test.py +++ b/modules/entreparticuliers/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.housing import (Query, POSTS_TYPES) diff --git a/modules/erehsbc/__init__.py b/modules/erehsbc/__init__.py index 5ce508638..6b87a9bdd 100644 --- a/modules/erehsbc/__init__.py +++ b/modules/erehsbc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ErehsbcModule diff --git a/modules/erehsbc/browser.py b/modules/erehsbc/browser.py index ae1736873..7204034c6 100644 --- a/modules/erehsbc/browser.py +++ b/modules/erehsbc/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/erehsbc/module.py b/modules/erehsbc/module.py index 29a0b5e27..e8aaafb13 100644 --- a/modules/erehsbc/module.py +++ b/modules/erehsbc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import AbstractModule, BackendConfig diff --git a/modules/erehsbc/test.py b/modules/erehsbc/test.py index 3b9114d11..2f59a5b0e 100644 --- a/modules/erehsbc/test.py +++ b/modules/erehsbc/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/esalia/__init__.py b/modules/esalia/__init__.py index 5bf656ac9..661058fb3 100644 --- a/modules/esalia/__init__.py +++ b/modules/esalia/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import EsaliaModule diff --git a/modules/esalia/browser.py b/modules/esalia/browser.py index 8892a4cee..cd2f7aea8 100644 --- a/modules/esalia/browser.py +++ b/modules/esalia/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import AbstractBrowser diff --git a/modules/esalia/module.py b/modules/esalia/module.py index 1dbeec9d4..4172ae61e 100644 --- a/modules/esalia/module.py +++ b/modules/esalia/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import AbstractModule, BackendConfig diff --git a/modules/esalia/test.py b/modules/esalia/test.py index bb28a8566..3b80b6d43 100644 --- a/modules/esalia/test.py +++ b/modules/esalia/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/explorimmo/__init__.py b/modules/explorimmo/__init__.py index 1ea252a58..e38012f9c 100644 --- a/modules/explorimmo/__init__.py +++ b/modules/explorimmo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ExplorimmoModule diff --git a/modules/explorimmo/browser.py b/modules/explorimmo/browser.py index fbbc8aeec..d308aee27 100644 --- a/modules/explorimmo/browser.py +++ b/modules/explorimmo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.capabilities.housing import (TypeNotSupported, POSTS_TYPES, diff --git a/modules/explorimmo/module.py b/modules/explorimmo/module.py index 3a3b89632..c38c28ceb 100644 --- a/modules/explorimmo/module.py +++ b/modules/explorimmo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/explorimmo/pages.py b/modules/explorimmo/pages.py index 46ac23c68..35631b889 100644 --- a/modules/explorimmo/pages.py +++ b/modules/explorimmo/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals import json diff --git a/modules/explorimmo/test.py b/modules/explorimmo/test.py index f888a5c42..dfa8cdfe4 100644 --- a/modules/explorimmo/test.py +++ b/modules/explorimmo/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import Query, ADVERT_TYPES, POSTS_TYPES from weboob.tools.capabilities.housing.housing_test import HousingTest diff --git a/modules/feedly/__init__.py b/modules/feedly/__init__.py index 5f0d0f34d..33ffcbc12 100644 --- a/modules/feedly/__init__.py +++ b/modules/feedly/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import FeedlyModule diff --git a/modules/feedly/browser.py b/modules/feedly/browser.py index 9c565bc5c..4611b4820 100644 --- a/modules/feedly/browser.py +++ b/modules/feedly/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.json import json from weboob.capabilities.base import UserError diff --git a/modules/feedly/google.py b/modules/feedly/google.py index a2c000a5e..1360d1365 100644 --- a/modules/feedly/google.py +++ b/modules/feedly/google.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL diff --git a/modules/feedly/module.py b/modules/feedly/module.py index 99ef0f380..4410eb45c 100644 --- a/modules/feedly/module.py +++ b/modules/feedly/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/feedly/pages.py b/modules/feedly/pages.py index 475b6ac49..41a4abfc0 100644 --- a/modules/feedly/pages.py +++ b/modules/feedly/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/feedly/test.py b/modules/feedly/test.py index b4a826098..2f66ff26e 100644 --- a/modules/feedly/test.py +++ b/modules/feedly/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest, SkipTest diff --git a/modules/figgo/__init__.py b/modules/figgo/__init__.py index 88d753625..980a6e762 100644 --- a/modules/figgo/__init__.py +++ b/modules/figgo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/figgo/browser.py b/modules/figgo/browser.py index 208751a39..2199b81bd 100644 --- a/modules/figgo/browser.py +++ b/modules/figgo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/figgo/module.py b/modules/figgo/module.py index 11d11edef..e7aa7a0cb 100644 --- a/modules/figgo/module.py +++ b/modules/figgo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/figgo/pages.py b/modules/figgo/pages.py index 5fc5994b4..98388c28b 100644 --- a/modules/figgo/pages.py +++ b/modules/figgo/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/foncia/__init__.py b/modules/foncia/__init__.py index 1efdaf796..4b7160268 100644 --- a/modules/foncia/__init__.py +++ b/modules/foncia/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/foncia/browser.py b/modules/foncia/browser.py index bc98f7b84..ea1e27643 100644 --- a/modules/foncia/browser.py +++ b/modules/foncia/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/foncia/module.py b/modules/foncia/module.py index e790e5ec7..7c5c7d8a5 100644 --- a/modules/foncia/module.py +++ b/modules/foncia/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/foncia/pages.py b/modules/foncia/pages.py index cb0b0739a..98ab18fe9 100644 --- a/modules/foncia/pages.py +++ b/modules/foncia/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/foncia/test.py b/modules/foncia/test.py index 1f164c516..12065239a 100644 --- a/modules/foncia/test.py +++ b/modules/foncia/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/fortuneo/__init__.py b/modules/fortuneo/__init__.py index 6db69f1c1..6978bb66e 100644 --- a/modules/fortuneo/__init__.py +++ b/modules/fortuneo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Gilles-Alexandre Quenot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import FortuneoModule diff --git a/modules/fortuneo/browser.py b/modules/fortuneo/browser.py index cb57a6809..6c9a891d6 100644 --- a/modules/fortuneo/browser.py +++ b/modules/fortuneo/browser.py @@ -2,21 +2,21 @@ # Copyright(C) 2012 Gilles-Alexandre Quenot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/fortuneo/module.py b/modules/fortuneo/module.py index bd93eb1d5..63e4b23fe 100644 --- a/modules/fortuneo/module.py +++ b/modules/fortuneo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Gilles-Alexandre Quenot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import find_object diff --git a/modules/fortuneo/pages/accounts_list.py b/modules/fortuneo/pages/accounts_list.py index e9add0e6b..3701e1cbe 100644 --- a/modules/fortuneo/pages/accounts_list.py +++ b/modules/fortuneo/pages/accounts_list.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Gilles-Alexandre Quenot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -287,10 +287,17 @@ class AccountHistoryPage(LoggedPage, HTMLPage): date_oper = tables[i].xpath("./td[2]/text()")[0] date_val = tables[i].xpath("./td[3]/text()")[0] label = tables[i].xpath("./td[4]/text()")[0] - label = re.sub(r'[ \xa0]+', ' ', label).strip() + label = re.sub(r'\s+', ' ', label).strip() amount = tables[i].xpath("./td[5]/text() | ./td[6]/text()") operation.parse(date=date_oper, raw=label, vdate=date_val) + # Needed because operation.parse overwrite operation.label + # Theses lines must run after operation.parse. + if tables[i].xpath("./td[4]/div/text()"): + label = tables[i].xpath("./td[4]/div/text()")[0] + else: + label = tables[i].xpath("./td[4]/text()")[0] + operation.label = re.sub(r'\s+', ' ', label).strip() if amount[1] == u'\xa0': amount = amount[0] diff --git a/modules/fortuneo/pages/login.py b/modules/fortuneo/pages/login.py index 548f1d9c3..5e4da0914 100644 --- a/modules/fortuneo/pages/login.py +++ b/modules/fortuneo/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Gilles-Alexandre Quenot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/fortuneo/pages/transfer.py b/modules/fortuneo/pages/transfer.py index 923e34597..0d116a1ec 100644 --- a/modules/fortuneo/pages/transfer.py +++ b/modules/fortuneo/pages/transfer.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Sylvie Ye # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/fortuneo/test.py b/modules/fortuneo/test.py index 4e83c1c61..17e3d7edb 100644 --- a/modules/fortuneo/test.py +++ b/modules/fortuneo/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Gilles-Alexandre Quenot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/francetelevisions/browser.py b/modules/francetelevisions/browser.py index d3cf1fc66..2858c33ed 100644 --- a/modules/francetelevisions/browser.py +++ b/modules/francetelevisions/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/francetelevisions/module.py b/modules/francetelevisions/module.py index 0251162b9..d0607c20a 100644 --- a/modules/francetelevisions/module.py +++ b/modules/francetelevisions/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import empty from weboob.capabilities.video import CapVideo, BaseVideo diff --git a/modules/francetelevisions/pages.py b/modules/francetelevisions/pages.py index 38dd88ba8..8ac50651c 100644 --- a/modules/francetelevisions/pages.py +++ b/modules/francetelevisions/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/francetelevisions/test.py b/modules/francetelevisions/test.py index a4b941a19..691ea50af 100644 --- a/modules/francetelevisions/test.py +++ b/modules/francetelevisions/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo from weboob.tools.test import BackendTest diff --git a/modules/freemobile/__init__.py b/modules/freemobile/__init__.py index 6bf0ea7ff..d1029ed57 100644 --- a/modules/freemobile/__init__.py +++ b/modules/freemobile/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import FreeMobileModule diff --git a/modules/freemobile/browser.py b/modules/freemobile/browser.py index 528db465b..1cb3c1344 100644 --- a/modules/freemobile/browser.py +++ b/modules/freemobile/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login from weboob.capabilities.messages import CantSendMessage diff --git a/modules/freemobile/module.py b/modules/freemobile/module.py index b7dcc573a..1d293099c 100644 --- a/modules/freemobile/module.py +++ b/modules/freemobile/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Bill, SubscriptionNotFound, DocumentNotFound from weboob.capabilities.profile import CapProfile diff --git a/modules/freemobile/pages/__init__.py b/modules/freemobile/pages/__init__.py index df7210d0f..a4fd5523f 100644 --- a/modules/freemobile/pages/__init__.py +++ b/modules/freemobile/pages/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .homepage import HomePage diff --git a/modules/freemobile/pages/history.py b/modules/freemobile/pages/history.py index c37bd267f..901cc4073 100644 --- a/modules/freemobile/pages/history.py +++ b/modules/freemobile/pages/history.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import calendar diff --git a/modules/freemobile/pages/homepage.py b/modules/freemobile/pages/homepage.py index 63492ccc1..2f8052f77 100644 --- a/modules/freemobile/pages/homepage.py +++ b/modules/freemobile/pages/homepage.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .history import BadUTF8Page from weboob.capabilities.bill import Subscription diff --git a/modules/freemobile/pages/login.py b/modules/freemobile/pages/login.py index ddaf00074..d24100a3e 100644 --- a/modules/freemobile/pages/login.py +++ b/modules/freemobile/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import time diff --git a/modules/freemobile/pages/options.py b/modules/freemobile/pages/options.py index a175f2909..e5eda9770 100644 --- a/modules/freemobile/pages/options.py +++ b/modules/freemobile/pages/options.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import LoggedPage diff --git a/modules/freemobile/pages/profile.py b/modules/freemobile/pages/profile.py index 5b01a6fa8..339d89c2f 100644 --- a/modules/freemobile/pages/profile.py +++ b/modules/freemobile/pages/profile.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/freemobile/test.py b/modules/freemobile/test.py index aec3b2067..cb16d1ffb 100644 --- a/modules/freemobile/test.py +++ b/modules/freemobile/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/freeteknomusic/__init__.py b/modules/freeteknomusic/__init__.py index f26484214..42eb03f22 100644 --- a/modules/freeteknomusic/__init__.py +++ b/modules/freeteknomusic/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/freeteknomusic/browser.py b/modules/freeteknomusic/browser.py index b049c9845..bdbec155e 100644 --- a/modules/freeteknomusic/browser.py +++ b/modules/freeteknomusic/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/freeteknomusic/module.py b/modules/freeteknomusic/module.py index a9962043f..cf975e053 100644 --- a/modules/freeteknomusic/module.py +++ b/modules/freeteknomusic/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/freeteknomusic/pages.py b/modules/freeteknomusic/pages.py index 18c589e5c..7416392aa 100644 --- a/modules/freeteknomusic/pages.py +++ b/modules/freeteknomusic/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/freeteknomusic/test.py b/modules/freeteknomusic/test.py index 2647efa5e..580c6125c 100644 --- a/modules/freeteknomusic/test.py +++ b/modules/freeteknomusic/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/funmooc/__init__.py b/modules/funmooc/__init__.py index 98a90fa4f..47208381a 100644 --- a/modules/funmooc/__init__.py +++ b/modules/funmooc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import FunmoocModule diff --git a/modules/funmooc/browser.py b/modules/funmooc/browser.py index 0b66b9932..27867f782 100644 --- a/modules/funmooc/browser.py +++ b/modules/funmooc/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/funmooc/module.py b/modules/funmooc/module.py index 5f498786d..1e770ee05 100644 --- a/modules/funmooc/module.py +++ b/modules/funmooc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/funmooc/pages.py b/modules/funmooc/pages.py index 2fdce0bfc..840347e21 100644 --- a/modules/funmooc/pages.py +++ b/modules/funmooc/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re try: diff --git a/modules/funmooc/test.py b/modules/funmooc/test.py index 9b2c55e36..4f7fa546a 100644 --- a/modules/funmooc/test.py +++ b/modules/funmooc/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.collection import Collection from weboob.capabilities.video import BaseVideo diff --git a/modules/funmooc/video.py b/modules/funmooc/video.py index 802e9c718..295b53c26 100644 --- a/modules/funmooc/video.py +++ b/modules/funmooc/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo diff --git a/modules/ganassurances/__init__.py b/modules/ganassurances/__init__.py index 71c7c63fb..88ff933ce 100644 --- a/modules/ganassurances/__init__.py +++ b/modules/ganassurances/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GanAssurancesModule diff --git a/modules/ganassurances/browser.py b/modules/ganassurances/browser.py index a7bb42836..528c4d9e6 100644 --- a/modules/ganassurances/browser.py +++ b/modules/ganassurances/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/ganassurances/module.py b/modules/ganassurances/module.py index 9e87833e3..67b82c1fe 100644 --- a/modules/ganassurances/module.py +++ b/modules/ganassurances/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/ganassurances/test.py b/modules/ganassurances/test.py index 3cc9830a7..c6c4d1a87 100644 --- a/modules/ganassurances/test.py +++ b/modules/ganassurances/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/genericnewspaper/browser.py b/modules/genericnewspaper/browser.py index 4d7a97d3c..96980daa0 100644 --- a/modules/genericnewspaper/browser.py +++ b/modules/genericnewspaper/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.url import URL from .pages import GenericNewsPage diff --git a/modules/genericnewspaper/module.py b/modules/genericnewspaper/module.py index 8e07af9c8..c0e09a1a7 100644 --- a/modules/genericnewspaper/module.py +++ b/modules/genericnewspaper/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import time diff --git a/modules/genericnewspaper/pages.py b/modules/genericnewspaper/pages.py index ee8f9b45a..6bd10c187 100644 --- a/modules/genericnewspaper/pages.py +++ b/modules/genericnewspaper/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage from weboob.browser.filters.html import XPath, XPathNotFound diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 980720b99..dbad6a06f 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GithubModule diff --git a/modules/github/browser.py b/modules/github/browser.py index 8dbce0392..c9e276ff5 100644 --- a/modules/github/browser.py +++ b/modules/github/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/github/module.py b/modules/github/module.py index c3bdd4409..1e19104f1 100644 --- a/modules/github/module.py +++ b/modules/github/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/github/test.py b/modules/github/test.py index c90225168..01074c210 100644 --- a/modules/github/test.py +++ b/modules/github/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/gls/__init__.py b/modules/gls/__init__.py index e69210fd8..bfdfbef32 100644 --- a/modules/gls/__init__.py +++ b/modules/gls/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GLSModule diff --git a/modules/gls/browser.py b/modules/gls/browser.py index ce4dad8d9..0051e054d 100644 --- a/modules/gls/browser.py +++ b/modules/gls/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/gls/module.py b/modules/gls/module.py index 02f7bd1d0..cf1f3eb80 100644 --- a/modules/gls/module.py +++ b/modules/gls/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/gls/pages.py b/modules/gls/pages.py index cadecc298..0bc9fe31b 100644 --- a/modules/gls/pages.py +++ b/modules/gls/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from dateutil.parser import parse as parse_date diff --git a/modules/gls/test.py b/modules/gls/test.py index 871cdaf91..b1d20e749 100644 --- a/modules/gls/test.py +++ b/modules/gls/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/gmf/__init__.py b/modules/gmf/__init__.py index 7ca5c27a5..a1794372c 100644 --- a/modules/gmf/__init__.py +++ b/modules/gmf/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Tony Malto # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/gmf/browser.py b/modules/gmf/browser.py index 221bc15b2..af5c7b033 100644 --- a/modules/gmf/browser.py +++ b/modules/gmf/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Tony Malto # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/gmf/module.py b/modules/gmf/module.py index e53030aa8..e3eb23323 100644 --- a/modules/gmf/module.py +++ b/modules/gmf/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Tony Malto # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/gmf/pages.py b/modules/gmf/pages.py index 1d251b9b1..74d08e89e 100644 --- a/modules/gmf/pages.py +++ b/modules/gmf/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Tony Malto # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/googletranslate/__init__.py b/modules/googletranslate/__init__.py index 30fa72a43..015f9d1aa 100644 --- a/modules/googletranslate/__init__.py +++ b/modules/googletranslate/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GoogleTranslateModule diff --git a/modules/googletranslate/browser.py b/modules/googletranslate/browser.py index 860e610a8..99b3dca38 100644 --- a/modules/googletranslate/browser.py +++ b/modules/googletranslate/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/googletranslate/module.py b/modules/googletranslate/module.py index d3e77f9d6..952a202bb 100644 --- a/modules/googletranslate/module.py +++ b/modules/googletranslate/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://translate.google.com" from __future__ import unicode_literals diff --git a/modules/googletranslate/pages.py b/modules/googletranslate/pages.py index af4cbd396..38540c4b8 100644 --- a/modules/googletranslate/pages.py +++ b/modules/googletranslate/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import JsonPage diff --git a/modules/googletranslate/test.py b/modules/googletranslate/test.py index 72c1aa1c5..3ef4bdaf7 100644 --- a/modules/googletranslate/test.py +++ b/modules/googletranslate/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/groupama/__init__.py b/modules/groupama/__init__.py index 7440b0a6f..0256bff4b 100644 --- a/modules/groupama/__init__.py +++ b/modules/groupama/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GroupamaModule diff --git a/modules/groupama/browser.py b/modules/groupama/browser.py index 731618743..0cbfac2f7 100644 --- a/modules/groupama/browser.py +++ b/modules/groupama/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/groupama/module.py b/modules/groupama/module.py index e79729010..fd0e0f7c3 100644 --- a/modules/groupama/module.py +++ b/modules/groupama/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth, AccountNotFound diff --git a/modules/groupama/pages.py b/modules/groupama/pages.py index b04b426bb..4fc945512 100644 --- a/modules/groupama/pages.py +++ b/modules/groupama/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/groupama/test.py b/modules/groupama/test.py index 8430aef07..2bded8c91 100644 --- a/modules/groupama/test.py +++ b/modules/groupama/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/groupamaes/__init__.py b/modules/groupamaes/__init__.py index ccede59db..4255fc0f5 100644 --- a/modules/groupamaes/__init__.py +++ b/modules/groupamaes/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GroupamaesModule diff --git a/modules/groupamaes/browser.py b/modules/groupamaes/browser.py index 8c548dd8e..6d07c3d84 100644 --- a/modules/groupamaes/browser.py +++ b/modules/groupamaes/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/groupamaes/module.py b/modules/groupamaes/module.py index 80aa6edbb..afcf6128a 100644 --- a/modules/groupamaes/module.py +++ b/modules/groupamaes/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankPockets, AccountNotFound from weboob.tools.backend import Module, BackendConfig diff --git a/modules/groupamaes/pages.py b/modules/groupamaes/pages.py index c6065cd1e..6b9213b7b 100644 --- a/modules/groupamaes/pages.py +++ b/modules/groupamaes/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal from datetime import date diff --git a/modules/groupamaes/test.py b/modules/groupamaes/test.py index 53ea15207..3e0081ba3 100644 --- a/modules/groupamaes/test.py +++ b/modules/groupamaes/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/guerrillamail/__init__.py b/modules/guerrillamail/__init__.py index fe1d7aa04..dea87f982 100644 --- a/modules/guerrillamail/__init__.py +++ b/modules/guerrillamail/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import GuerrillamailModule diff --git a/modules/guerrillamail/browser.py b/modules/guerrillamail/browser.py index 776fc4fe7..d9d80920f 100644 --- a/modules/guerrillamail/browser.py +++ b/modules/guerrillamail/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import DomainBrowser from weboob.tools.date import datetime diff --git a/modules/guerrillamail/module.py b/modules/guerrillamail/module.py index 36fb6dbc7..c2a443a26 100644 --- a/modules/guerrillamail/module.py +++ b/modules/guerrillamail/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/guerrillamail/test.py b/modules/guerrillamail/test.py index 64b41192f..5344ce62f 100644 --- a/modules/guerrillamail/test.py +++ b/modules/guerrillamail/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/happn/__init__.py b/modules/happn/__init__.py index e51d0ddde..68429af58 100644 --- a/modules/happn/__init__.py +++ b/modules/happn/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import HappnModule diff --git a/modules/happn/browser.py b/modules/happn/browser.py index b44cc668c..88af5e5a5 100644 --- a/modules/happn/browser.py +++ b/modules/happn/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/happn/module.py b/modules/happn/module.py index be1790033..d31967093 100644 --- a/modules/happn/module.py +++ b/modules/happn/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict import datetime diff --git a/modules/happn/test.py b/modules/happn/test.py index d5e270e1a..f735eb889 100644 --- a/modules/happn/test.py +++ b/modules/happn/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/hds/browser.py b/modules/hds/browser.py index a5de37970..ccb2e4936 100644 --- a/modules/hds/browser.py +++ b/modules/hds/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/hds/module.py b/modules/hds/module.py index 60f8dcea0..3a75e9ca3 100644 --- a/modules/hds/module.py +++ b/modules/hds/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/hds/pages.py b/modules/hds/pages.py index 9b0e52f09..225c5b134 100644 --- a/modules/hds/pages.py +++ b/modules/hds/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/hds/test.py b/modules/hds/test.py index 9caf7a950..8b1a6197c 100644 --- a/modules/hds/test.py +++ b/modules/hds/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/hsbc/browser.py b/modules/hsbc/browser.py index bd75e9302..f1ae0872b 100644 --- a/modules/hsbc/browser.py +++ b/modules/hsbc/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/hsbc/module.py b/modules/hsbc/module.py index 3b8f48c7e..b5217f11e 100644 --- a/modules/hsbc/module.py +++ b/modules/hsbc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBankWealth, AccountNotFound diff --git a/modules/hsbc/pages/account_pages.py b/modules/hsbc/pages/account_pages.py index 03c04a5d4..99dee316f 100644 --- a/modules/hsbc/pages/account_pages.py +++ b/modules/hsbc/pages/account_pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/hsbc/test.py b/modules/hsbc/test.py index d0a92401a..1f01c8ce3 100644 --- a/modules/hsbc/test.py +++ b/modules/hsbc/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/hybride/__init__.py b/modules/hybride/__init__.py index 7994ed4bd..06d4ced5d 100644 --- a/modules/hybride/__init__.py +++ b/modules/hybride/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import HybrideModule diff --git a/modules/hybride/browser.py b/modules/hybride/browser.py index 4a8eb6b05..53fe06d61 100644 --- a/modules/hybride/browser.py +++ b/modules/hybride/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import ProgramPage, EventPage diff --git a/modules/hybride/calendar.py b/modules/hybride/calendar.py index cb7c013de..fb08aaa8f 100644 --- a/modules/hybride/calendar.py +++ b/modules/hybride/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS, CATEGORIES diff --git a/modules/hybride/module.py b/modules/hybride/module.py index 2ca8a1f0b..b3b6cee1f 100644 --- a/modules/hybride/module.py +++ b/modules/hybride/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/hybride/pages.py b/modules/hybride/pages.py index 805e8c4d7..997ac6b83 100644 --- a/modules/hybride/pages.py +++ b/modules/hybride/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .calendar import HybrideCalendarEvent diff --git a/modules/hybride/test.py b/modules/hybride/test.py index d2623abea..06fbbb44e 100644 --- a/modules/hybride/test.py +++ b/modules/hybride/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/ideel/__init__.py b/modules/ideel/__init__.py index 22e4fdd2c..08ea49945 100644 --- a/modules/ideel/__init__.py +++ b/modules/ideel/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import IdeelModule diff --git a/modules/ideel/browser.py b/modules/ideel/browser.py index 4c19aa03f..9d1ec3239 100644 --- a/modules/ideel/browser.py +++ b/modules/ideel/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/ideel/module.py b/modules/ideel/module.py index 261b55a02..590d66d4f 100644 --- a/modules/ideel/module.py +++ b/modules/ideel/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.shop import CapShop diff --git a/modules/ideel/test.py b/modules/ideel/test.py index 19884d552..c6da0261e 100644 --- a/modules/ideel/test.py +++ b/modules/ideel/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/ilmatieteenlaitos/__init__.py b/modules/ilmatieteenlaitos/__init__.py index 427fe8e68..487fadd9e 100644 --- a/modules/ilmatieteenlaitos/__init__.py +++ b/modules/ilmatieteenlaitos/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import IlmatieteenlaitosModule diff --git a/modules/ilmatieteenlaitos/browser.py b/modules/ilmatieteenlaitos/browser.py index dc4ca870c..699c84d05 100644 --- a/modules/ilmatieteenlaitos/browser.py +++ b/modules/ilmatieteenlaitos/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.browsers import PagesBrowser from weboob.browser.url import URL diff --git a/modules/ilmatieteenlaitos/module.py b/modules/ilmatieteenlaitos/module.py index f6466649d..c0437590d 100644 --- a/modules/ilmatieteenlaitos/module.py +++ b/modules/ilmatieteenlaitos/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.weather import CapWeather, CityNotFound diff --git a/modules/ilmatieteenlaitos/pages.py b/modules/ilmatieteenlaitos/pages.py index 9a33d2632..ad8390357 100644 --- a/modules/ilmatieteenlaitos/pages.py +++ b/modules/ilmatieteenlaitos/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date from itertools import imap, ifilter diff --git a/modules/ilmatieteenlaitos/test.py b/modules/ilmatieteenlaitos/test.py index 1fc10252a..bad02cb42 100644 --- a/modules/ilmatieteenlaitos/test.py +++ b/modules/ilmatieteenlaitos/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/imdb/__init__.py b/modules/imdb/__init__.py index 048bd6260..42250db62 100644 --- a/modules/imdb/__init__.py +++ b/modules/imdb/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ImdbModule diff --git a/modules/imdb/browser.py b/modules/imdb/browser.py index 786be53bd..546a86cd8 100644 --- a/modules/imdb/browser.py +++ b/modules/imdb/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/imdb/module.py b/modules/imdb/module.py index 2e5fc83e0..0629b0090 100644 --- a/modules/imdb/module.py +++ b/modules/imdb/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/imdb/pages.py b/modules/imdb/pages.py index 5ef0a1a45..9bebb9c2f 100644 --- a/modules/imdb/pages.py +++ b/modules/imdb/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/imdb/test.py b/modules/imdb/test.py index 8c08955a4..2512e7e39 100644 --- a/modules/imdb/test.py +++ b/modules/imdb/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/imgur/__init__.py b/modules/imgur/__init__.py index 7ff345c66..b6892ad43 100644 --- a/modules/imgur/__init__.py +++ b/modules/imgur/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ImgurModule diff --git a/modules/imgur/browser.py b/modules/imgur/browser.py index be8d88cf8..24b113fa5 100644 --- a/modules/imgur/browser.py +++ b/modules/imgur/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import dateutil.parser diff --git a/modules/imgur/module.py b/modules/imgur/module.py index f8e46baa7..8b18e65e0 100644 --- a/modules/imgur/module.py +++ b/modules/imgur/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from base64 import b64encode diff --git a/modules/imgur/test.py b/modules/imgur/test.py index b406849bb..6379b924f 100644 --- a/modules/imgur/test.py +++ b/modules/imgur/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode diff --git a/modules/ina/browser.py b/modules/ina/browser.py index 429dadf89..787965387 100644 --- a/modules/ina/browser.py +++ b/modules/ina/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/ina/module.py b/modules/ina/module.py index a8524806e..cf1421af4 100644 --- a/modules/ina/module.py +++ b/modules/ina/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import CapVideo, BaseVideo diff --git a/modules/ina/pages.py b/modules/ina/pages.py index c3db9dd74..a79907f5d 100644 --- a/modules/ina/pages.py +++ b/modules/ina/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from io import StringIO diff --git a/modules/ina/test.py b/modules/ina/test.py index e04bb2e28..1f8ea5854 100644 --- a/modules/ina/test.py +++ b/modules/ina/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import itertools from weboob.tools.test import BackendTest diff --git a/modules/indeed/__init__.py b/modules/indeed/__init__.py index d18467f76..1e6f713fc 100644 --- a/modules/indeed/__init__.py +++ b/modules/indeed/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import IndeedModule diff --git a/modules/indeed/browser.py b/modules/indeed/browser.py index 1ad945b84..709913114 100644 --- a/modules/indeed/browser.py +++ b/modules/indeed/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import SearchPage, AdvertPage diff --git a/modules/indeed/module.py b/modules/indeed/module.py index ffb84ba1e..a676a027c 100644 --- a/modules/indeed/module.py +++ b/modules/indeed/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/indeed/pages.py b/modules/indeed/pages.py index a13aff2cb..00efd0078 100644 --- a/modules/indeed/pages.py +++ b/modules/indeed/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import timedelta, datetime import re diff --git a/modules/indeed/test.py b/modules/indeed/test.py index 1be780446..ff188118a 100644 --- a/modules/indeed/test.py +++ b/modules/indeed/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/infomaniak/__init__.py b/modules/infomaniak/__init__.py index 7a9476af5..25145f59f 100644 --- a/modules/infomaniak/__init__.py +++ b/modules/infomaniak/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/infomaniak/browser.py b/modules/infomaniak/browser.py index 22f59f028..d63e8f6b5 100644 --- a/modules/infomaniak/browser.py +++ b/modules/infomaniak/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/infomaniak/module.py b/modules/infomaniak/module.py index 860fe1a52..d3d7f7a5f 100644 --- a/modules/infomaniak/module.py +++ b/modules/infomaniak/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/infomaniak/pages.py b/modules/infomaniak/pages.py index c1295b5ee..bb005182a 100644 --- a/modules/infomaniak/pages.py +++ b/modules/infomaniak/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/infomaniak/test.py b/modules/infomaniak/test.py index ff78b05de..61659de6f 100644 --- a/modules/infomaniak/test.py +++ b/modules/infomaniak/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ing/__init__.py b/modules/ing/__init__.py index 458a7d36d..0b4e70790 100644 --- a/modules/ing/__init__.py +++ b/modules/ing/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import INGModule diff --git a/modules/ing/browser.py b/modules/ing/browser.py index a885ce5b1..942cff05c 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ing/module.py b/modules/ing/module.py index 27fa3f3dc..ffa1b1fa1 100644 --- a/modules/ing/module.py +++ b/modules/ing/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ing/pages/__init__.py b/modules/ing/pages/__init__.py index a2b6c3775..f73ba1dfa 100644 --- a/modules/ing/pages/__init__.py +++ b/modules/ing/pages/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2011 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .accounts_list import ( diff --git a/modules/ing/pages/accounts_list.py b/modules/ing/pages/accounts_list.py index 687de82fc..3e5fbd5a0 100644 --- a/modules/ing/pages/accounts_list.py +++ b/modules/ing/pages/accounts_list.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2014 Florent Fourcot, Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ing/pages/bills.py b/modules/ing/pages/bills.py index bdaa9492c..41fd42338 100644 --- a/modules/ing/pages/bills.py +++ b/modules/ing/pages/bills.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ing/pages/login.py b/modules/ing/pages/login.py index 47de0d525..8d45b5086 100644 --- a/modules/ing/pages/login.py +++ b/modules/ing/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2014 Florent Fourcot, Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from io import BytesIO diff --git a/modules/ing/pages/titre.py b/modules/ing/pages/titre.py index 57d4a5b81..bb02e8b04 100644 --- a/modules/ing/pages/titre.py +++ b/modules/ing/pages/titre.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ing/pages/transfer.py b/modules/ing/pages/transfer.py index b05ec9e09..452c6a92a 100644 --- a/modules/ing/pages/transfer.py +++ b/modules/ing/pages/transfer.py @@ -2,20 +2,20 @@ # Copyright(C) 2009-2014 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/ing/test.py b/modules/ing/test.py index ff7968972..2b40d1856 100644 --- a/modules/ing/test.py +++ b/modules/ing/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon, Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/inrocks/__init__.py b/modules/inrocks/__init__.py index 14fef210d..188647c52 100644 --- a/modules/inrocks/__init__.py +++ b/modules/inrocks/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NewspaperInrocksModule diff --git a/modules/inrocks/browser.py b/modules/inrocks/browser.py index cf49d9886..b14b27062 100644 --- a/modules/inrocks/browser.py +++ b/modules/inrocks/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import ArticlePage from weboob.browser.browsers import AbstractBrowser diff --git a/modules/inrocks/module.py b/modules/inrocks/module.py index 59fed602b..0e7ba3132 100644 --- a/modules/inrocks/module.py +++ b/modules/inrocks/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://www.lesinrocks.com" from weboob.tools.backend import AbstractModule diff --git a/modules/inrocks/pages.py b/modules/inrocks/pages.py index 6218ac6ba..4ec316233 100644 --- a/modules/inrocks/pages.py +++ b/modules/inrocks/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import AbstractPage from weboob.browser.filters.html import XPathNotFound, CSS, CleanHTML diff --git a/modules/inrocks/test.py b/modules/inrocks/test.py index ebdc4994b..ef219a413 100644 --- a/modules/inrocks/test.py +++ b/modules/inrocks/test.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/inrocks/tools.py b/modules/inrocks/tools.py index 8e733305d..1a811c2ad 100644 --- a/modules/inrocks/tools.py +++ b/modules/inrocks/tools.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . def url2id(url): diff --git a/modules/ipapi/module.py b/modules/ipapi/module.py index a9a71c2d6..b71351547 100644 --- a/modules/ipapi/module.py +++ b/modules/ipapi/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.geolocip import CapGeolocIp, IpLocation diff --git a/modules/ipapi/test.py b/modules/ipapi/test.py index 561697ceb..47fd03a45 100644 --- a/modules/ipapi/test.py +++ b/modules/ipapi/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/ipinfodb/browser.py b/modules/ipinfodb/browser.py index e384bf505..a815ee1a9 100644 --- a/modules/ipinfodb/browser.py +++ b/modules/ipinfodb/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser diff --git a/modules/ipinfodb/module.py b/modules/ipinfodb/module.py index 6b7c92b01..e6d3ade65 100644 --- a/modules/ipinfodb/module.py +++ b/modules/ipinfodb/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.geolocip import CapGeolocIp diff --git a/modules/ipinfodb/pages.py b/modules/ipinfodb/pages.py index 8c0f601d1..0a81526f2 100644 --- a/modules/ipinfodb/pages.py +++ b/modules/ipinfodb/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/ipinfodb/test.py b/modules/ipinfodb/test.py index 382a0ac63..c107c21b6 100644 --- a/modules/ipinfodb/test.py +++ b/modules/ipinfodb/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/itella/__init__.py b/modules/itella/__init__.py index 1e0699d43..2be2bbc66 100644 --- a/modules/itella/__init__.py +++ b/modules/itella/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ItellaModule diff --git a/modules/itella/browser.py b/modules/itella/browser.py index 7ac9c9d51..baca63a88 100644 --- a/modules/itella/browser.py +++ b/modules/itella/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.browsers import APIBrowser diff --git a/modules/itella/module.py b/modules/itella/module.py index 13a5fd2e6..353756978 100644 --- a/modules/itella/module.py +++ b/modules/itella/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/itella/pages.py b/modules/itella/pages.py index d55076870..a3d8e7f70 100644 --- a/modules/itella/pages.py +++ b/modules/itella/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from dateutil.parser import parse as parse_date diff --git a/modules/itella/test.py b/modules/itella/test.py index ededc7684..318bfc284 100644 --- a/modules/itella/test.py +++ b/modules/itella/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Matthieu Weber # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/jcvelaux/__init__.py b/modules/jcvelaux/__init__.py index 3b9f0d3f4..17f3cbc67 100644 --- a/modules/jcvelaux/__init__.py +++ b/modules/jcvelaux/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 dud # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import jcvelauxModule diff --git a/modules/jcvelaux/browser.py b/modules/jcvelaux/browser.py index 56c3ceccf..bfef6ca1d 100644 --- a/modules/jcvelaux/browser.py +++ b/modules/jcvelaux/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 dud # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/jcvelaux/module.py b/modules/jcvelaux/module.py index 592ee0877..b3466d0f4 100644 --- a/modules/jcvelaux/module.py +++ b/modules/jcvelaux/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 dud # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/jcvelaux/test.py b/modules/jcvelaux/test.py index 315ae14f2..35287619b 100644 --- a/modules/jcvelaux/test.py +++ b/modules/jcvelaux/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 dud # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/jirafeau/__init__.py b/modules/jirafeau/__init__.py index 88e1788eb..8678fa117 100644 --- a/modules/jirafeau/__init__.py +++ b/modules/jirafeau/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import JirafeauModule diff --git a/modules/jirafeau/browser.py b/modules/jirafeau/browser.py index 235f4f2e5..a01e42aad 100644 --- a/modules/jirafeau/browser.py +++ b/modules/jirafeau/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import division from __future__ import unicode_literals diff --git a/modules/jirafeau/module.py b/modules/jirafeau/module.py index c77526ba2..86bbb87f7 100644 --- a/modules/jirafeau/module.py +++ b/modules/jirafeau/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode diff --git a/modules/jirafeau/pages.py b/modules/jirafeau/pages.py index 807a0c4f6..48b579967 100644 --- a/modules/jirafeau/pages.py +++ b/modules/jirafeau/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/jirafeau/test.py b/modules/jirafeau/test.py index d92fae406..ab008a0b0 100644 --- a/modules/jirafeau/test.py +++ b/modules/jirafeau/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/journaldesfemmes/__init__.py b/modules/journaldesfemmes/__init__.py index a3c37a511..b5954a0a8 100644 --- a/modules/journaldesfemmes/__init__.py +++ b/modules/journaldesfemmes/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/journaldesfemmes/browser.py b/modules/journaldesfemmes/browser.py index ffdcfda6f..379eb5a81 100644 --- a/modules/journaldesfemmes/browser.py +++ b/modules/journaldesfemmes/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/journaldesfemmes/module.py b/modules/journaldesfemmes/module.py index 6e86629ba..28118f18b 100644 --- a/modules/journaldesfemmes/module.py +++ b/modules/journaldesfemmes/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/journaldesfemmes/pages.py b/modules/journaldesfemmes/pages.py index c61a05853..c0b3a36f8 100644 --- a/modules/journaldesfemmes/pages.py +++ b/modules/journaldesfemmes/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/journaldesfemmes/test.py b/modules/journaldesfemmes/test.py index 6036a0e91..27766c85a 100644 --- a/modules/journaldesfemmes/test.py +++ b/modules/journaldesfemmes/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals import itertools diff --git a/modules/kickass/browser.py b/modules/kickass/browser.py index 6e4f018f3..7a7b235ae 100644 --- a/modules/kickass/browser.py +++ b/modules/kickass/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/kickass/module.py b/modules/kickass/module.py index fce01f17f..0b1d5d980 100644 --- a/modules/kickass/module.py +++ b/modules/kickass/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import CapTorrent, Torrent from weboob.tools.backend import Module diff --git a/modules/kickass/pages.py b/modules/kickass/pages.py index 7423b022e..5a17debdf 100644 --- a/modules/kickass/pages.py +++ b/modules/kickass/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 Julien Veyssier, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import Torrent diff --git a/modules/kickass/test.py b/modules/kickass/test.py index 80be0200a..53c126dc1 100644 --- a/modules/kickass/test.py +++ b/modules/kickass/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/kiwibank/__init__.py b/modules/kiwibank/__init__.py index f12139c5e..3c76288bb 100644 --- a/modules/kiwibank/__init__.py +++ b/modules/kiwibank/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Cédric Félizard # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import KiwibankModule diff --git a/modules/kiwibank/browser.py b/modules/kiwibank/browser.py index cb8545628..63667e391 100644 --- a/modules/kiwibank/browser.py +++ b/modules/kiwibank/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Cédric Félizard # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/kiwibank/module.py b/modules/kiwibank/module.py index 4f43fbb04..0cd0d60ad 100644 --- a/modules/kiwibank/module.py +++ b/modules/kiwibank/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Cédric Félizard # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank, AccountNotFound diff --git a/modules/kiwibank/pages.py b/modules/kiwibank/pages.py index e477afc40..81ce0112a 100644 --- a/modules/kiwibank/pages.py +++ b/modules/kiwibank/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Cédric Félizard # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/kiwibank/test.py b/modules/kiwibank/test.py index fcb428ade..6511d879d 100644 --- a/modules/kiwibank/test.py +++ b/modules/kiwibank/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Cédric Félizard # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/lacentrale/browser.py b/modules/lacentrale/browser.py index 16b836e9c..852f03901 100644 --- a/modules/lacentrale/browser.py +++ b/modules/lacentrale/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vicnet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/lacentrale/module.py b/modules/lacentrale/module.py index a8671e6a2..c51b64b97 100644 --- a/modules/lacentrale/module.py +++ b/modules/lacentrale/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vicnet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.pricecomparison import CapPriceComparison, Price from weboob.tools.backend import Module diff --git a/modules/lacentrale/pages.py b/modules/lacentrale/pages.py index 074aaf782..05a893725 100644 --- a/modules/lacentrale/pages.py +++ b/modules/lacentrale/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vicnet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.elements import ItemElement, ListElement, method diff --git a/modules/lacentrale/product.py b/modules/lacentrale/product.py index 1518f1574..4af93fce0 100644 --- a/modules/lacentrale/product.py +++ b/modules/lacentrale/product.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.pricecomparison import Product diff --git a/modules/lacentrale/test.py b/modules/lacentrale/test.py index 5a73a9988..2cec01c24 100644 --- a/modules/lacentrale/test.py +++ b/modules/lacentrale/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vicnet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/lameteoagricole/__init__.py b/modules/lameteoagricole/__init__.py index 2f61124ce..60f4c693e 100644 --- a/modules/lameteoagricole/__init__.py +++ b/modules/lameteoagricole/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lameteoagricole/browser.py b/modules/lameteoagricole/browser.py index c8e023ae7..58e043bf5 100644 --- a/modules/lameteoagricole/browser.py +++ b/modules/lameteoagricole/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lameteoagricole/module.py b/modules/lameteoagricole/module.py index 932cd9d30..b0f0b2099 100644 --- a/modules/lameteoagricole/module.py +++ b/modules/lameteoagricole/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lameteoagricole/pages.py b/modules/lameteoagricole/pages.py index 2fa852f69..6281b1e20 100644 --- a/modules/lameteoagricole/pages.py +++ b/modules/lameteoagricole/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lameteoagricole/test.py b/modules/lameteoagricole/test.py index 5b9e65347..5536b530e 100644 --- a/modules/lameteoagricole/test.py +++ b/modules/lameteoagricole/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lampiris/__init__.py b/modules/lampiris/__init__.py index 80da12483..6376a46d7 100644 --- a/modules/lampiris/__init__.py +++ b/modules/lampiris/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lampiris/browser.py b/modules/lampiris/browser.py index 4981ac1bf..70dc70c59 100644 --- a/modules/lampiris/browser.py +++ b/modules/lampiris/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lampiris/module.py b/modules/lampiris/module.py index 5c6181e1b..5147a9c0c 100644 --- a/modules/lampiris/module.py +++ b/modules/lampiris/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lampiris/pages.py b/modules/lampiris/pages.py index 340b090d9..d914ec41e 100644 --- a/modules/lampiris/pages.py +++ b/modules/lampiris/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lampiris/test.py b/modules/lampiris/test.py index 6186c521c..0d97a8656 100644 --- a/modules/lampiris/test.py +++ b/modules/lampiris/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/larousse/__init__.py b/modules/larousse/__init__.py index def59a1fa..1b62c7004 100644 --- a/modules/larousse/__init__.py +++ b/modules/larousse/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LarousseModule diff --git a/modules/larousse/browser.py b/modules/larousse/browser.py index 4d4f2778a..ec7fc5d59 100644 --- a/modules/larousse/browser.py +++ b/modules/larousse/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/larousse/module.py b/modules/larousse/module.py index be44c8709..b0b939fd2 100644 --- a/modules/larousse/module.py +++ b/modules/larousse/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/larousse/pages.py b/modules/larousse/pages.py index 8052ef6a7..4698364d8 100644 --- a/modules/larousse/pages.py +++ b/modules/larousse/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/larousse/test.py b/modules/larousse/test.py index fc917b4c3..2533e8fbf 100644 --- a/modules/larousse/test.py +++ b/modules/larousse/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lcl/__init__.py b/modules/lcl/__init__.py index 9c4dc2b0d..b26a93021 100644 --- a/modules/lcl/__init__.py +++ b/modules/lcl/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LCLModule diff --git a/modules/lcl/browser.py b/modules/lcl/browser.py index 13e20c73a..1a6602090 100644 --- a/modules/lcl/browser.py +++ b/modules/lcl/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Romain Bignon, Pierre Mazière # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/lcl/enterprise/browser.py b/modules/lcl/enterprise/browser.py index fe4b9a005..220bb9ed7 100644 --- a/modules/lcl/enterprise/browser.py +++ b/modules/lcl/enterprise/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/lcl/enterprise/pages.py b/modules/lcl/enterprise/pages.py index f14dddb4f..da5c6443d 100644 --- a/modules/lcl/enterprise/pages.py +++ b/modules/lcl/enterprise/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re, requests diff --git a/modules/lcl/module.py b/modules/lcl/module.py index 2cbd09969..9db548e5b 100644 --- a/modules/lcl/module.py +++ b/modules/lcl/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Romain Bignon, Pierre Mazière # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal diff --git a/modules/lcl/pages.py b/modules/lcl/pages.py index b615c2a07..a3ff0a3f1 100644 --- a/modules/lcl/pages.py +++ b/modules/lcl/pages.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2010-2011 Romain Bignon, Pierre Mazière # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals, division @@ -504,7 +504,13 @@ class BoursePage(LoggedPage, HTMLPage): ENCODING='latin-1' REFRESH_MAX = 0 - TYPES = {u'plan épargne en actions': Account.TYPE_PEA + TYPES = { + 'plan épargne en actions': Account.TYPE_PEA, + "plan d'épargne en actions": Account.TYPE_PEA, + 'plan épargne en actions bourse': Account.TYPE_PEA, + "plan d'épargne en actions bourse": Account.TYPE_PEA, + 'pea pme bourse': Account.TYPE_PEA, + 'pea pme': Account.TYPE_PEA, } def on_load(self): @@ -1173,7 +1179,7 @@ class ProfilePage(LoggedPage, HTMLPage): profile = Person() profile.name = name try: - profile.email = Attr('//input[@id="textMail"]', 'value')(self.doc) + profile.email = Attr('//input[@id="textMail"]', 'value', default=NotAvailable)(self.doc) except AttributeNotFound: pass nb = Attr('//input[@id="nbEnfant"]', 'value', default=NotAvailable)(self.doc) diff --git a/modules/lcl/test.py b/modules/lcl/test.py index 1621917fc..72a758a82 100644 --- a/modules/lcl/test.py +++ b/modules/lcl/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/ldlc/__init__.py b/modules/ldlc/__init__.py index 9c5261b2d..b3c631278 100644 --- a/modules/ldlc/__init__.py +++ b/modules/ldlc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LdlcModule diff --git a/modules/ldlc/browser.py b/modules/ldlc/browser.py index 4df59bd5b..d6b08d27d 100644 --- a/modules/ldlc/browser.py +++ b/modules/ldlc/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/ldlc/module.py b/modules/ldlc/module.py index dcd136c81..34cc2fcec 100644 --- a/modules/ldlc/module.py +++ b/modules/ldlc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import CapDocument, Subscription, Bill, SubscriptionNotFound, DocumentNotFound diff --git a/modules/ldlc/pages.py b/modules/ldlc/pages.py index 76725b2a8..ff0d34f12 100644 --- a/modules/ldlc/pages.py +++ b/modules/ldlc/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ldlc/test.py b/modules/ldlc/test.py index 96b9f6d14..1f184b265 100644 --- a/modules/ldlc/test.py +++ b/modules/ldlc/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/leboncoin/__init__.py b/modules/leboncoin/__init__.py index de9ba246e..2206442c6 100644 --- a/modules/leboncoin/__init__.py +++ b/modules/leboncoin/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LeboncoinModule diff --git a/modules/leboncoin/browser.py b/modules/leboncoin/browser.py index d6e1e6f13..1dbb947a3 100644 --- a/modules/leboncoin/browser.py +++ b/modules/leboncoin/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.json import json diff --git a/modules/leboncoin/module.py b/modules/leboncoin/module.py index 4a0cc789b..9dae2d9fc 100644 --- a/modules/leboncoin/module.py +++ b/modules/leboncoin/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/leboncoin/pages.py b/modules/leboncoin/pages.py index b79f1ea13..9005f464e 100644 --- a/modules/leboncoin/pages.py +++ b/modules/leboncoin/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals import requests @@ -74,9 +74,9 @@ class HomePage(HTMLPage): def __init__(self, *args, **kwargs): HTMLPage.__init__(self, *args, **kwargs) - add_content = CleanText('(//body/script)[3]', replace=[('window.FLUX_STATE = ', '')])(self.doc) + add_content = CleanText('(//body/script)[4]', replace=[('window.FLUX_STATE = ', '')])(self.doc) - api_content = CleanText('(//body/script)[2]', replace=[('window.APP_CONFIG = ', '')])(self.doc) + api_content = CleanText('(//body/script)[3]', replace=[('window.APP_CONFIG = ', '')])(self.doc) self.htmldoc = self.doc self.api_content = json.loads(api_content) diff --git a/modules/leboncoin/test.py b/modules/leboncoin/test.py index 9193e50ed..63677058f 100644 --- a/modules/leboncoin/test.py +++ b/modules/leboncoin/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.tools.value import Value diff --git a/modules/lefigaro/__init__.py b/modules/lefigaro/__init__.py index 5cca4729b..feac6b24b 100644 --- a/modules/lefigaro/__init__.py +++ b/modules/lefigaro/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NewspaperFigaroModule diff --git a/modules/lefigaro/browser.py b/modules/lefigaro/browser.py index 8cfa4bd9f..9bee244d7 100644 --- a/modules/lefigaro/browser.py +++ b/modules/lefigaro/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import ArticlePage from weboob.browser.browsers import AbstractBrowser diff --git a/modules/lefigaro/module.py b/modules/lefigaro/module.py index d2f9c0685..49e24e831 100644 --- a/modules/lefigaro/module.py +++ b/modules/lefigaro/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://www.lefigaro.fr" from weboob.tools.newsfeed import Newsfeed diff --git a/modules/lefigaro/pages.py b/modules/lefigaro/pages.py index e2b3cf4c0..483abd12a 100644 --- a/modules/lefigaro/pages.py +++ b/modules/lefigaro/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import AbstractPage from weboob.browser.filters.html import CSS from weboob.browser.filters.standard import CleanText diff --git a/modules/lefigaro/test.py b/modules/lefigaro/test.py index f44e56af8..194fd569b 100644 --- a/modules/lefigaro/test.py +++ b/modules/lefigaro/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/lefigaro/tools.py b/modules/lefigaro/tools.py index fcd537da4..f592435e1 100644 --- a/modules/lefigaro/tools.py +++ b/modules/lefigaro/tools.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . def url2id(url): diff --git a/modules/liberation/__init__.py b/modules/liberation/__init__.py index ad859fd66..afa4caeec 100644 --- a/modules/liberation/__init__.py +++ b/modules/liberation/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NewspaperLibeModule diff --git a/modules/liberation/browser.py b/modules/liberation/browser.py index 9d3bcf040..eef6d7b00 100644 --- a/modules/liberation/browser.py +++ b/modules/liberation/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import ArticlePage from weboob.browser.browsers import AbstractBrowser diff --git a/modules/liberation/module.py b/modules/liberation/module.py index 6838cadef..b90daa941 100644 --- a/modules/liberation/module.py +++ b/modules/liberation/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://liberation.fr" from weboob.tools.newsfeed import Newsfeed diff --git a/modules/liberation/pages.py b/modules/liberation/pages.py index b72b8cd28..79df9bfda 100644 --- a/modules/liberation/pages.py +++ b/modules/liberation/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import AbstractPage from weboob.browser.filters.html import XPathNotFound, CSS diff --git a/modules/liberation/test.py b/modules/liberation/test.py index a8319a2f3..1fd9ae121 100644 --- a/modules/liberation/test.py +++ b/modules/liberation/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/liberation/tools.py b/modules/liberation/tools.py index eaa01b12c..a6b135e50 100644 --- a/modules/liberation/tools.py +++ b/modules/liberation/tools.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2013 Florent Fourcot -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/limetorrents/__init__.py b/modules/limetorrents/__init__.py index 802f87827..54c909ade 100644 --- a/modules/limetorrents/__init__.py +++ b/modules/limetorrents/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LimetorrentsModule diff --git a/modules/limetorrents/browser.py b/modules/limetorrents/browser.py index 0178a54bb..390546ef3 100644 --- a/modules/limetorrents/browser.py +++ b/modules/limetorrents/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/limetorrents/module.py b/modules/limetorrents/module.py index e0de83324..1efa40d37 100644 --- a/modules/limetorrents/module.py +++ b/modules/limetorrents/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import CapTorrent, Torrent from weboob.tools.backend import Module diff --git a/modules/limetorrents/pages.py b/modules/limetorrents/pages.py index a622edbd3..dc48030a5 100644 --- a/modules/limetorrents/pages.py +++ b/modules/limetorrents/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.tools.misc import get_bytes_size diff --git a/modules/limetorrents/test.py b/modules/limetorrents/test.py index af8ed86b6..34f08f5c3 100644 --- a/modules/limetorrents/test.py +++ b/modules/limetorrents/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/linebourse/__init__.py b/modules/linebourse/__init__.py index 9cf288295..28d5c5313 100644 --- a/modules/linebourse/__init__.py +++ b/modules/linebourse/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/linebourse/api/pages.py b/modules/linebourse/api/pages.py index 7216b3d23..be2f970a7 100644 --- a/modules/linebourse/api/pages.py +++ b/modules/linebourse/api/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Fong Ngo # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/linebourse/browser.py b/modules/linebourse/browser.py index 0d5564ae8..2ec6219df 100644 --- a/modules/linebourse/browser.py +++ b/modules/linebourse/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/linebourse/module.py b/modules/linebourse/module.py index 4d2070007..9cd4f2443 100644 --- a/modules/linebourse/module.py +++ b/modules/linebourse/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/linebourse/pages.py b/modules/linebourse/pages.py index b58c2017f..cf8ed02bc 100644 --- a/modules/linebourse/pages.py +++ b/modules/linebourse/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent Ardisson # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/linuxjobs/__init__.py b/modules/linuxjobs/__init__.py index d0e16e347..c4d3df725 100644 --- a/modules/linuxjobs/__init__.py +++ b/modules/linuxjobs/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LinuxJobsModule diff --git a/modules/linuxjobs/browser.py b/modules/linuxjobs/browser.py index 04f807add..bdc0eb87d 100644 --- a/modules/linuxjobs/browser.py +++ b/modules/linuxjobs/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/linuxjobs/module.py b/modules/linuxjobs/module.py index 45e952e5d..4780509e7 100644 --- a/modules/linuxjobs/module.py +++ b/modules/linuxjobs/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/linuxjobs/pages.py b/modules/linuxjobs/pages.py index 52d998a34..5545be5cd 100644 --- a/modules/linuxjobs/pages.py +++ b/modules/linuxjobs/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.job import BaseJobAdvert diff --git a/modules/linuxjobs/test.py b/modules/linuxjobs/test.py index 994b4f5ea..dd9200b3f 100644 --- a/modules/linuxjobs/test.py +++ b/modules/linuxjobs/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/logicimmo/__init__.py b/modules/logicimmo/__init__.py index 71c4747ab..b0527366c 100644 --- a/modules/logicimmo/__init__.py +++ b/modules/logicimmo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LogicimmoModule diff --git a/modules/logicimmo/browser.py b/modules/logicimmo/browser.py index e3faf959f..ab8d2fb0f 100644 --- a/modules/logicimmo/browser.py +++ b/modules/logicimmo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/logicimmo/module.py b/modules/logicimmo/module.py index af4d94725..55628b662 100644 --- a/modules/logicimmo/module.py +++ b/modules/logicimmo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/logicimmo/pages.py b/modules/logicimmo/pages.py index c9d3eea43..37edf68c4 100644 --- a/modules/logicimmo/pages.py +++ b/modules/logicimmo/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/logicimmo/test.py b/modules/logicimmo/test.py index fb3cd2595..73ac92948 100644 --- a/modules/logicimmo/test.py +++ b/modules/logicimmo/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import Query, POSTS_TYPES, ADVERT_TYPES from weboob.tools.test import BackendTest diff --git a/modules/lolix/__init__.py b/modules/lolix/__init__.py index ac314b0ec..824bc5cda 100644 --- a/modules/lolix/__init__.py +++ b/modules/lolix/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LolixModule diff --git a/modules/lolix/browser.py b/modules/lolix/browser.py index 5a9b9d7dd..6092d6b8c 100644 --- a/modules/lolix/browser.py +++ b/modules/lolix/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import SearchPage, AdvertPage diff --git a/modules/lolix/job.py b/modules/lolix/job.py index 019e91f9c..33d469908 100644 --- a/modules/lolix/job.py +++ b/modules/lolix/job.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.job import BaseJobAdvert diff --git a/modules/lolix/module.py b/modules/lolix/module.py index a6289a32a..3f7161098 100644 --- a/modules/lolix/module.py +++ b/modules/lolix/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/lolix/pages.py b/modules/lolix/pages.py index 4a8cf49fa..b394c12de 100644 --- a/modules/lolix/pages.py +++ b/modules/lolix/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/lolix/test.py b/modules/lolix/test.py index e9fefc1eb..de50b6f22 100644 --- a/modules/lolix/test.py +++ b/modules/lolix/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/lutim/__init__.py b/modules/lutim/__init__.py index c6151e94f..9dc3b4ae7 100644 --- a/modules/lutim/__init__.py +++ b/modules/lutim/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LutimModule diff --git a/modules/lutim/browser.py b/modules/lutim/browser.py index 47b7ff588..52345e721 100644 --- a/modules/lutim/browser.py +++ b/modules/lutim/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode, b64encode import math diff --git a/modules/lutim/module.py b/modules/lutim/module.py index 607870aec..d5c87c9cd 100644 --- a/modules/lutim/module.py +++ b/modules/lutim/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/lutim/pages.py b/modules/lutim/pages.py index 3f900e3c3..1517d2031 100644 --- a/modules/lutim/pages.py +++ b/modules/lutim/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/lutim/test.py b/modules/lutim/test.py index 52085816a..b00af636c 100644 --- a/modules/lutim/test.py +++ b/modules/lutim/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/lyricsdotcom/__init__.py b/modules/lyricsdotcom/__init__.py index 378aa0fed..d16a7a2de 100644 --- a/modules/lyricsdotcom/__init__.py +++ b/modules/lyricsdotcom/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LyricsdotcomModule diff --git a/modules/lyricsdotcom/browser.py b/modules/lyricsdotcom/browser.py index a709aa09b..f009830e0 100644 --- a/modules/lyricsdotcom/browser.py +++ b/modules/lyricsdotcom/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser from weboob.browser.url import URL diff --git a/modules/lyricsdotcom/module.py b/modules/lyricsdotcom/module.py index 76530899c..a8d0b9fc9 100644 --- a/modules/lyricsdotcom/module.py +++ b/modules/lyricsdotcom/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/lyricsdotcom/pages.py b/modules/lyricsdotcom/pages.py index 539c372b1..3e60de621 100644 --- a/modules/lyricsdotcom/pages.py +++ b/modules/lyricsdotcom/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import SongLyrics diff --git a/modules/lyricsdotcom/test.py b/modules/lyricsdotcom/test.py index b7604f1c1..30f2f736a 100644 --- a/modules/lyricsdotcom/test.py +++ b/modules/lyricsdotcom/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/lyricsmode/__init__.py b/modules/lyricsmode/__init__.py index fb74f2f90..3113b00f9 100644 --- a/modules/lyricsmode/__init__.py +++ b/modules/lyricsmode/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import LyricsmodeModule diff --git a/modules/lyricsmode/browser.py b/modules/lyricsmode/browser.py index b5fcd0046..1a87aa60e 100644 --- a/modules/lyricsmode/browser.py +++ b/modules/lyricsmode/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/lyricsmode/module.py b/modules/lyricsmode/module.py index 4095d0a02..988a47470 100644 --- a/modules/lyricsmode/module.py +++ b/modules/lyricsmode/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/lyricsmode/pages.py b/modules/lyricsmode/pages.py index b70394e58..c7a3ee8b8 100644 --- a/modules/lyricsmode/pages.py +++ b/modules/lyricsmode/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import SongLyrics diff --git a/modules/lyricsmode/test.py b/modules/lyricsmode/test.py index 6a48ba3d2..b3643465e 100644 --- a/modules/lyricsmode/test.py +++ b/modules/lyricsmode/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/lyricsplanet/browser.py b/modules/lyricsplanet/browser.py index c74d71e90..90dcaa77f 100644 --- a/modules/lyricsplanet/browser.py +++ b/modules/lyricsplanet/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/lyricsplanet/module.py b/modules/lyricsplanet/module.py index a00820c6e..30cb6b40e 100644 --- a/modules/lyricsplanet/module.py +++ b/modules/lyricsplanet/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/lyricsplanet/pages.py b/modules/lyricsplanet/pages.py index 1a688c769..6c997b808 100644 --- a/modules/lyricsplanet/pages.py +++ b/modules/lyricsplanet/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import SongLyrics diff --git a/modules/lyricsplanet/test.py b/modules/lyricsplanet/test.py index 01a9cbefe..f4c9f4cf7 100644 --- a/modules/lyricsplanet/test.py +++ b/modules/lyricsplanet/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/mailinator/__init__.py b/modules/mailinator/__init__.py index aeb4fd302..4fb418c95 100644 --- a/modules/mailinator/__init__.py +++ b/modules/mailinator/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MailinatorModule diff --git a/modules/mailinator/browser.py b/modules/mailinator/browser.py index 60aacedb4..185c159af 100644 --- a/modules/mailinator/browser.py +++ b/modules/mailinator/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.browsers import APIBrowser, ClientError diff --git a/modules/mailinator/module.py b/modules/mailinator/module.py index 55cb27f4a..ee79aba9c 100644 --- a/modules/mailinator/module.py +++ b/modules/mailinator/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/mailinator/test.py b/modules/mailinator/test.py index 3ac603457..8a3eea673 100644 --- a/modules/mailinator/test.py +++ b/modules/mailinator/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/manpower/__init__.py b/modules/manpower/__init__.py index 3133dd307..b7d226bfc 100644 --- a/modules/manpower/__init__.py +++ b/modules/manpower/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ManpowerModule diff --git a/modules/manpower/browser.py b/modules/manpower/browser.py index fd26fca54..0a9800412 100644 --- a/modules/manpower/browser.py +++ b/modules/manpower/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/manpower/module.py b/modules/manpower/module.py index dde5be52e..3e09a6365 100644 --- a/modules/manpower/module.py +++ b/modules/manpower/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/manpower/pages.py b/modules/manpower/pages.py index b7a1188f4..fd2744c69 100644 --- a/modules/manpower/pages.py +++ b/modules/manpower/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date from weboob.browser.pages import HTMLPage diff --git a/modules/manpower/test.py b/modules/manpower/test.py index 6efe72680..b2f807917 100644 --- a/modules/manpower/test.py +++ b/modules/manpower/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/mareeinfo/__init__.py b/modules/mareeinfo/__init__.py index 2c8fb5e1d..442683852 100644 --- a/modules/mareeinfo/__init__.py +++ b/modules/mareeinfo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MareeinfoModule diff --git a/modules/mareeinfo/browser.py b/modules/mareeinfo/browser.py index 49c754364..30021bd57 100644 --- a/modules/mareeinfo/browser.py +++ b/modules/mareeinfo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/mareeinfo/module.py b/modules/mareeinfo/module.py index 770c6d424..5ced7ed58 100644 --- a/modules/mareeinfo/module.py +++ b/modules/mareeinfo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/mareeinfo/pages.py b/modules/mareeinfo/pages.py index f8c5a0e16..d7957aebe 100644 --- a/modules/mareeinfo/pages.py +++ b/modules/mareeinfo/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage from weboob.browser.elements import ListElement, ItemElement, method diff --git a/modules/mareeinfo/test.py b/modules/mareeinfo/test.py index 1acb372b5..37ad15c47 100644 --- a/modules/mareeinfo/test.py +++ b/modules/mareeinfo/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/marmiton/__init__.py b/modules/marmiton/__init__.py index cd5853609..09f8bb802 100644 --- a/modules/marmiton/__init__.py +++ b/modules/marmiton/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MarmitonModule diff --git a/modules/marmiton/browser.py b/modules/marmiton/browser.py index 8c47440d1..4de45b02a 100644 --- a/modules/marmiton/browser.py +++ b/modules/marmiton/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound from weboob.browser import PagesBrowser, URL diff --git a/modules/marmiton/module.py b/modules/marmiton/module.py index 8c0b76a1c..56084bc51 100644 --- a/modules/marmiton/module.py +++ b/modules/marmiton/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import CapRecipe, Recipe from weboob.tools.backend import Module diff --git a/modules/marmiton/pages.py b/modules/marmiton/pages.py index 944494c7a..64797d242 100644 --- a/modules/marmiton/pages.py +++ b/modules/marmiton/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, pagination from weboob.browser.elements import ItemElement, ListElement, method diff --git a/modules/marmiton/test.py b/modules/marmiton/test.py index 70c1be0c4..d0c507fdf 100644 --- a/modules/marmiton/test.py +++ b/modules/marmiton/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest import itertools diff --git a/modules/materielnet/__init__.py b/modules/materielnet/__init__.py index 5029c70e3..77f99e6e8 100644 --- a/modules/materielnet/__init__.py +++ b/modules/materielnet/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MaterielnetModule diff --git a/modules/materielnet/browser.py b/modules/materielnet/browser.py index 0b0704d5f..b4bb03bc6 100644 --- a/modules/materielnet/browser.py +++ b/modules/materielnet/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/materielnet/module.py b/modules/materielnet/module.py index 3a8f980a9..5b677c7ad 100644 --- a/modules/materielnet/module.py +++ b/modules/materielnet/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Document, SubscriptionNotFound, DocumentNotFound diff --git a/modules/materielnet/pages.py b/modules/materielnet/pages.py index 4a061e93d..c2926092b 100644 --- a/modules/materielnet/pages.py +++ b/modules/materielnet/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -50,7 +50,7 @@ class LoginPage(PartialHTMLPage): form.submit() def get_error(self): - return CleanText('//div[contains(@class, "error")]')(self.doc) + return CleanText('//span[contains(@class, "field-validation-error")]')(self.doc) class CaptchaPage(HTMLPage): diff --git a/modules/materielnet/test.py b/modules/materielnet/test.py index 624eef646..6b8fdb44d 100644 --- a/modules/materielnet/test.py +++ b/modules/materielnet/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/mediawiki/__init__.py b/modules/mediawiki/__init__.py index 99eaf5876..25f165cb8 100644 --- a/modules/mediawiki/__init__.py +++ b/modules/mediawiki/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MediawikiModule diff --git a/modules/mediawiki/browser.py b/modules/mediawiki/browser.py index 2e12ebfe0..7da971d92 100644 --- a/modules/mediawiki/browser.py +++ b/modules/mediawiki/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict import datetime diff --git a/modules/mediawiki/module.py b/modules/mediawiki/module.py index 7b1d1c6da..c8a7431f2 100644 --- a/modules/mediawiki/module.py +++ b/modules/mediawiki/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import os diff --git a/modules/mediawiki/test.py b/modules/mediawiki/test.py index 69de3398c..7ef026c74 100644 --- a/modules/mediawiki/test.py +++ b/modules/mediawiki/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/meslieuxparis/__init__.py b/modules/meslieuxparis/__init__.py index a7d12f5a6..86fb84d29 100644 --- a/modules/meslieuxparis/__init__.py +++ b/modules/meslieuxparis/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/meslieuxparis/browser.py b/modules/meslieuxparis/browser.py index d37457577..0efc28ab2 100644 --- a/modules/meslieuxparis/browser.py +++ b/modules/meslieuxparis/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/meslieuxparis/module.py b/modules/meslieuxparis/module.py index 329b2c6c1..e22ee9eb5 100644 --- a/modules/meslieuxparis/module.py +++ b/modules/meslieuxparis/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/meslieuxparis/pages.py b/modules/meslieuxparis/pages.py index 0f2bb445b..3f193b1b3 100644 --- a/modules/meslieuxparis/pages.py +++ b/modules/meslieuxparis/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/meslieuxparis/test.py b/modules/meslieuxparis/test.py index 527b02481..d63c1399a 100644 --- a/modules/meslieuxparis/test.py +++ b/modules/meslieuxparis/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/meteofrance/__init__.py b/modules/meteofrance/__init__.py index 33fa7d0a9..9e4e3e9af 100644 --- a/modules/meteofrance/__init__.py +++ b/modules/meteofrance/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MeteofranceModule diff --git a/modules/meteofrance/browser.py b/modules/meteofrance/browser.py index 0c49d8457..0e0c2b99b 100644 --- a/modules/meteofrance/browser.py +++ b/modules/meteofrance/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Cedric Defortis # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import WeatherPage, SearchCitiesPage diff --git a/modules/meteofrance/module.py b/modules/meteofrance/module.py index d2eee92a9..92e30ae03 100644 --- a/modules/meteofrance/module.py +++ b/modules/meteofrance/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Cedric Defortis # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.weather import CapWeather, CityNotFound diff --git a/modules/meteofrance/pages.py b/modules/meteofrance/pages.py index 6aa9e3dac..7954d933a 100644 --- a/modules/meteofrance/pages.py +++ b/modules/meteofrance/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Cedric Defortis # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date diff --git a/modules/meteofrance/test.py b/modules/meteofrance/test.py index 69607966f..1c83423b4 100644 --- a/modules/meteofrance/test.py +++ b/modules/meteofrance/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/minutes20/__init__.py b/modules/minutes20/__init__.py index b5a516742..516b4e518 100644 --- a/modules/minutes20/__init__.py +++ b/modules/minutes20/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import Newspaper20minutesModule __all__ = ['Newspaper20minutesModule'] diff --git a/modules/minutes20/browser.py b/modules/minutes20/browser.py index 550d48fed..0cf6c8a40 100644 --- a/modules/minutes20/browser.py +++ b/modules/minutes20/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import ArticlePage from weboob.browser import AbstractBrowser, URL diff --git a/modules/minutes20/module.py b/modules/minutes20/module.py index ae3b03c80..142279aa0 100644 --- a/modules/minutes20/module.py +++ b/modules/minutes20/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://20minutes.fr" from weboob.capabilities.messages import CapMessages diff --git a/modules/minutes20/pages.py b/modules/minutes20/pages.py index f7e1befb1..c882938ca 100644 --- a/modules/minutes20/pages.py +++ b/modules/minutes20/pages.py @@ -4,20 +4,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import AbstractPage from weboob.browser.filters.standard import CleanText diff --git a/modules/minutes20/test.py b/modules/minutes20/test.py index 820d624cb..a29bb6e96 100644 --- a/modules/minutes20/test.py +++ b/modules/minutes20/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/minutes20/tools.py b/modules/minutes20/tools.py index c1f83a1a6..23fa54fed 100644 --- a/modules/minutes20/tools.py +++ b/modules/minutes20/tools.py @@ -3,20 +3,20 @@ # Copyright(C) 2011 Julien Hebert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/monster/__init__.py b/modules/monster/__init__.py index 1d284c4ea..68f94eade 100644 --- a/modules/monster/__init__.py +++ b/modules/monster/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MonsterModule diff --git a/modules/monster/browser.py b/modules/monster/browser.py index 3f5bec509..112ab0766 100644 --- a/modules/monster/browser.py +++ b/modules/monster/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.tools.compat import quote_plus, urlencode diff --git a/modules/monster/module.py b/modules/monster/module.py index 476750514..2467a7c79 100644 --- a/modules/monster/module.py +++ b/modules/monster/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/monster/pages.py b/modules/monster/pages.py index b73a5aa94..bbe59009b 100644 --- a/modules/monster/pages.py +++ b/modules/monster/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/monster/test.py b/modules/monster/test.py index 433655887..c50508c56 100644 --- a/modules/monster/test.py +++ b/modules/monster/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import itertools from weboob.tools.test import BackendTest diff --git a/modules/myedenred/__init__.py b/modules/myedenred/__init__.py index 337a7605b..69b712b1c 100644 --- a/modules/myedenred/__init__.py +++ b/modules/myedenred/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myedenred/browser.py b/modules/myedenred/browser.py index 548666878..dd286af30 100644 --- a/modules/myedenred/browser.py +++ b/modules/myedenred/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myedenred/module.py b/modules/myedenred/module.py index 4ffbc227e..156cdd601 100644 --- a/modules/myedenred/module.py +++ b/modules/myedenred/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myedenred/pages.py b/modules/myedenred/pages.py index eb1216026..0031d21aa 100644 --- a/modules/myedenred/pages.py +++ b/modules/myedenred/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myedenred/test.py b/modules/myedenred/test.py index 979e106f4..09f3edfce 100644 --- a/modules/myedenred/test.py +++ b/modules/myedenred/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Théo Dorée # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myfoncia/__init__.py b/modules/myfoncia/__init__.py index b3d223568..90dff94c7 100644 --- a/modules/myfoncia/__init__.py +++ b/modules/myfoncia/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myfoncia/browser.py b/modules/myfoncia/browser.py index 917f60f06..deca6b5af 100644 --- a/modules/myfoncia/browser.py +++ b/modules/myfoncia/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myfoncia/module.py b/modules/myfoncia/module.py index cc6b4bfe8..c11cc6200 100644 --- a/modules/myfoncia/module.py +++ b/modules/myfoncia/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myfoncia/pages.py b/modules/myfoncia/pages.py index 26266055e..efcd4a7c8 100644 --- a/modules/myfoncia/pages.py +++ b/modules/myfoncia/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myfoncia/test.py b/modules/myfoncia/test.py index 6e96c76f1..c8ff52754 100644 --- a/modules/myfoncia/test.py +++ b/modules/myfoncia/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/myhabit/__init__.py b/modules/myhabit/__init__.py index 21238eb12..377daa930 100644 --- a/modules/myhabit/__init__.py +++ b/modules/myhabit/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import MyHabitModule diff --git a/modules/myhabit/browser.py b/modules/myhabit/browser.py index dfcc2283c..1f3e4b88c 100644 --- a/modules/myhabit/browser.py +++ b/modules/myhabit/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/myhabit/module.py b/modules/myhabit/module.py index 2b2c831e0..a37d5b989 100644 --- a/modules/myhabit/module.py +++ b/modules/myhabit/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.shop import CapShop diff --git a/modules/myhabit/test.py b/modules/myhabit/test.py index 4466016cd..348404584 100644 --- a/modules/myhabit/test.py +++ b/modules/myhabit/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/n26/__init__.py b/modules/n26/__init__.py index 243fa5e10..23fef9510 100644 --- a/modules/n26/__init__.py +++ b/modules/n26/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Benjamin Bouvier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import Number26Module diff --git a/modules/n26/browser.py b/modules/n26/browser.py index 41af807dc..90cd2d6ad 100644 --- a/modules/n26/browser.py +++ b/modules/n26/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Benjamin Bouvier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal from datetime import datetime diff --git a/modules/n26/module.py b/modules/n26/module.py index 3448e045b..6b0afc7e4 100644 --- a/modules/n26/module.py +++ b/modules/n26/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Benjamin Bouvier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank diff --git a/modules/nalo/__init__.py b/modules/nalo/__init__.py index 4b0d1c8d2..ca8924def 100644 --- a/modules/nalo/__init__.py +++ b/modules/nalo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/nalo/browser.py b/modules/nalo/browser.py index 1b1aa5ec8..7c7692b36 100644 --- a/modules/nalo/browser.py +++ b/modules/nalo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -29,7 +29,7 @@ class NaloBrowser(LoginBrowser): BASEURL = 'https://nalo.fr' login = URL(r'/api/v1/login', LoginPage) - accounts = URL(r'/api/v1/projects/mine/without_details', AccountsPage) + accounts = URL(r'/api/v1/projects/mine/without-details', AccountsPage) history = URL(r'/api/v1/projects/(?P\d+)/history') account = URL(r'/api/v1/projects/(?P\d+)', AccountPage) invests = URL(r'https://app.nalo.fr/scripts/data/data.json', InvestPage) diff --git a/modules/nalo/module.py b/modules/nalo/module.py index 682b21061..29abccdc0 100644 --- a/modules/nalo/module.py +++ b/modules/nalo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/nalo/pages.py b/modules/nalo/pages.py index 5f8b64fe0..8f511990e 100644 --- a/modules/nalo/pages.py +++ b/modules/nalo/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/nectarine/browser.py b/modules/nectarine/browser.py index a39813de1..8b6ea463d 100644 --- a/modules/nectarine/browser.py +++ b/modules/nectarine/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Thomas Lecavelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import LivePage, StreamsPage diff --git a/modules/nectarine/module.py b/modules/nectarine/module.py index 22558d8ce..a60ee15b0 100644 --- a/modules/nectarine/module.py +++ b/modules/nectarine/module.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2013 Thomas Lecavelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.radio import CapRadio, Radio from weboob.capabilities.collection import CapCollection diff --git a/modules/nectarine/pages.py b/modules/nectarine/pages.py index 49f111ce4..3d94607c3 100644 --- a/modules/nectarine/pages.py +++ b/modules/nectarine/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Thomas Lecavelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import XMLPage from weboob.capabilities.radio import Radio diff --git a/modules/nectarine/test.py b/modules/nectarine/test.py index d3101ef1a..2b12adc19 100644 --- a/modules/nectarine/test.py +++ b/modules/nectarine/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Thomas Lecavelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/nef/__init__.py b/modules/nef/__init__.py new file mode 100644 index 000000000..9ce2a6b04 --- /dev/null +++ b/modules/nef/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2019 Damien Cassou +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + + +from .module import NefModule + + +__all__ = ['NefModule'] diff --git a/modules/nef/browser.py b/modules/nef/browser.py new file mode 100644 index 000000000..9e697d06e --- /dev/null +++ b/modules/nef/browser.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2019 Damien Cassou +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + +import datetime + +from weboob.browser import LoginBrowser, URL, need_login +from weboob.exceptions import BrowserIncorrectPassword + +from .pages import LoginPage, HomePage, AccountsPage, RecipientsPage, TransactionsPage + +def next_week_string(): + return (datetime.date.today() + datetime.timedelta(weeks=1)).strftime("%Y-%m-%d") + +class NefBrowser(LoginBrowser): + BASEURL = 'https://espace-client.lanef.com' + + home = URL('/templates/home.cfm', HomePage) + main = URL('/templates/main.cfm', HomePage) + download = URL(r'/templates/account/accountActivityListDownload.cfm\?viewMode=CSV&orderBy=TRANSACTION_DATE_DESCENDING&page=1&startDate=2016-01-01&endDate=%s&showBalance=true&AccNum=(?P.*)' % next_week_string(), TransactionsPage) + login = URL('/templates/logon/logon.cfm', LoginPage) + + def do_login(self): + self.login.stay_or_go() + + self.page.login(self.username, self.password) + + if not self.home.is_here(): + raise BrowserIncorrectPassword('Error logging in') + + @need_login + def iter_accounts_list(self): + response = self.main.open(data={ + 'templateName': 'account/accountList.cfm' + }) + + page = AccountsPage(self, response) + return page.get_items() + + @need_login + def iter_transactions_list(self, account): + return self.download.go(account_id=account.id).iter_history() + + # CapBankTransfer + @need_login + def iter_recipients_list(self): + response = self.main.open(data={ + 'templateName': 'beneficiary/beneficiaryList.cfm', + 'LISTTYPE': 'HISTORY' + }) + + page = RecipientsPage(self, response) + return page.get_items() diff --git a/modules/nef/favicon.png b/modules/nef/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..bdf2478070ee7ccdb3fe328e40401cfaf4a5fb4a GIT binary patch literal 2437 zcmV;033~R4P)8Gz?7 z(^pC*t*yOqJAg?xQH+@%C&FJ+_48nMnX(&T?b>z)!2B%nBTmXHO2!v*qg#_Ld{I^D z{;saJAID;?tBJU^rp9+NyFl3u(A$fe?0T88Wa-jfv&zkt4I*A-i|+00Tz}Sz#A0pH zBS*qlvddIz5G2E(&sBhCPC7)~<)lQ#W&tV1O7A&%rj74kPRdlw07QJR_Z*mJg@ur( zos{v~0J<$auemw$DUbPTtbmjKV}{=fOX>fgFaQ9&Wea;c z4iLd-g%xG^s*^Ha8$bX!d@V{|j{}Mo(Dj<4D^I|C11M7R5nFurk|nzuJmxG36=(tU zIsj=2q!gad2BpB0&5#XBcX#V~O^bE|tffTU0^pf)5!`y~@22~FYP}gvzmKYp1e%*8 za{z#ul07}^^Dc~X3=j%MZjll%6XCD1SnK!4rXEr1FLy9QGnHu>Tb-Gxs#3NAXv@RB zU!>bNBN&V0#pxRiIn9Sv6%pXnP0I9X9WVg7LL7c3smngV~#TfsL)DK z*Zr@+HVzO`8K*<`70&}mNj3T8UK@Y_Adv_U0AzPameBz8aq&C=fb;o;9vgtuPFEuC zxF)9-d)gS`Xw458ALNsIYye8Xq?Gc2E#W3j+kIO(7=-XWDkYXliDdu=uBGrQOD=>A zc6DvYafSfiPlIU)p})%PH(;*Th-3?Z#8~S+emr~zz!?D0v`BjMrR)B#L?T?YbyRFS z9E)wb03dF~naep4x<`fG;&jjoF{1@|^18d_E2;p|H3JY~dUJC_(`flCfr=X7%9YEn z!sa9??|Q%;91nu^^}nf}Jh|%gfLtI1^)@#8_BuK2u;b*(&6hMSaty#706>J50G@JM zJ{XKNN{I)A;46wEesA~sx`m?_5DY$l_mnCA6GZ$H5&ei6e|YS2LOE9Fq8%WyG+^Ci4)J=Sqfny5gr6M?I$D} zeS5rk@eA{r@jxoZJ1$-vnW!kT5kRk5!^Tqhvr*Il%&Zgf?z+0!tK#w2H+y;>d`H)P z4+Hp*sX)p7kQui1053Ps6Z1k<!$pUrAwnTO4Y%F zlL2UJGU@+XN5{(a^p!}2M*#f8tm39pNfjky9H{H-OEwqI%_{+bhqG#?x^-zP;?RrSjNKLp#^TbW?*2Fs;H#^#DhRKo#?c%XQ${3zN2 zG_A1}zDN`+gPXqK?;d;c=Zgp_d1+1p` zo)BWq@#E``0ze=T{Q?pH$t^Je7)I3_s+t@EPzwOebXR5$F$^#OaUvdHA07)=A&lAu z%K1vf=3wD0IHh2&CGLt+O%1J^hgK$IFPX< zmQoA=05h(S0RXnv`KR(PM8*z9A-e%G23aYs4Hss@BNQ=!u>1gdkCn=SDN|;>1>jP? zG+j?xr#W?AU9>FL0(1Z%Le7SVh|A*8OtmcjXTG!(CpMk~=mP*qCY6?Q@MU9E12EHt z)Dw+OP3`F$SfNn+OaKp;O9>)zpl~W5GoKITOVzX&76by%)w<;#)c`)9-fspcD~fL3 z-e!_A`4mvTfr**^UMP)-_otq?FA#`k7(Eb(t^znr*sjJK z2Ay-uoMQl8XST;xRsNhA*#w7@Np*X^3WtV + + + + + + + + + image/svg+xml + + + + + + + la Nef + + diff --git a/modules/nef/module.py b/modules/nef/module.py new file mode 100644 index 000000000..e5941e6be --- /dev/null +++ b/modules/nef/module.py @@ -0,0 +1,129 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2019 Damien Cassou +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + + +from weboob.tools.backend import Module, BackendConfig +from weboob.tools.value import ValueBackendPassword +from weboob.capabilities.bank import CapBankTransfer, Account + +from .browser import NefBrowser + + +__all__ = ['NefModule'] + + +class NefModule(Module, CapBankTransfer): + NAME = 'nef' + DESCRIPTION = 'La Nef' + MAINTAINER = 'Damien Cassou' + EMAIL = 'damien@cassou.me' + LICENSE = 'AGPLv3+' + VERSION = '1.5' + + BROWSER = NefBrowser + + CONFIG = BackendConfig(ValueBackendPassword('login', label='username', regexp='.+'), + ValueBackendPassword('password', label='Password')) + + def create_default_browser(self): + return self.create_browser(self.config['login'].get(), + self.config['password'].get()) + + # CapBank + def iter_accounts(self): + """ + Iter accounts. + + :rtype: iter[:class:`Account`] + """ + return self.browser.iter_accounts_list() + + def iter_coming(self, account): + """ + Iter coming transactions on a specific account. + + :param account: account to get coming transactions + :type account: :class:`Account` + :rtype: iter[:class:`Transaction`] + :raises: :class:`AccountNotFound` + """ + return [] + + def iter_history(self, account): + """ + Iter history of transactions on a specific account. + + :param account: account to get history + :type account: :class:`Account` + :rtype: iter[:class:`Transaction`] + :raises: :class:`AccountNotFound` + """ + return self.browser.iter_transactions_list(account) + + def iter_resources(self, objs, split_path): + """ + Iter resources. + + Default implementation of this method is to return on top-level + all accounts (by calling :func:`iter_accounts`). + + :param objs: type of objects to get + :type objs: tuple[:class:`BaseObject`] + :param split_path: path to discover + :type split_path: :class:`list` + :rtype: iter[:class:`BaseObject`] + """ + if Account in objs: + self._restrict_level(split_path) + + return self.iter_accounts() + + # CapBankTransfer + def iter_transfer_recipients(self, account): + """ + Iter recipients availables for a transfer from a specific account. + + :param account: account which initiate the transfer + :type account: :class:`Account` + :rtype: iter[:class:`Recipient`] + :raises: :class:`AccountNotFound` + """ + return self.browser.iter_recipients_list() + + def init_transfer(self, transfer, **params): + """ + Initiate a transfer. + + :param :class:`Transfer` + :rtype: :class:`Transfer` + :raises: :class:`TransferError` + """ + raise NotImplementedError() + + def execute_transfer(self, transfer, **params): + """ + Execute a transfer. + + :param :class:`Transfer` + :rtype: :class:`Transfer` + :raises: :class:`TransferError` + """ + raise NotImplementedError() diff --git a/modules/nef/pages.py b/modules/nef/pages.py new file mode 100644 index 000000000..57ed347ad --- /dev/null +++ b/modules/nef/pages.py @@ -0,0 +1,109 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2019 Damien Cassou +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + +import re + +from weboob.browser.elements import ListElement, DictElement, ItemElement, method, TableElement +from weboob.browser.filters.standard import CleanText, CleanDecimal, Regexp, Field, Date +from weboob.browser.pages import HTMLPage, PartialHTMLPage, CsvPage, LoggedPage +from weboob.browser.filters.json import Dict +from weboob.browser.filters.html import Attr, TableCell + +from weboob.capabilities.bank import Account, Recipient + +from weboob.tools.date import parse_french_date + +from .transaction import Transaction + +class LoginPage(HTMLPage): + def login(self, username, password): + form = self.get_form(name='formSignon') + form['userId'] = username + form['logonId'] = username + form['static'] = password + form.submit() + +class HomePage(LoggedPage, HTMLPage): + pass + +class AccountsPage(LoggedPage, PartialHTMLPage): + ACCOUNT_TYPES = {re.compile('livret'): Account.TYPE_SAVINGS, + re.compile('parts sociales'): Account.TYPE_SAVINGS, + } + + @method + class get_items(ListElement): + item_xpath = '//div[@data-type="account"]' + + class item(ItemElement): + klass = Account + + obj_id = CleanText('.//div/div/div[(position()=3) and (has-class("pc-content-text"))]/span') & Regexp(pattern=r'(\d+) ') + obj_label = CleanText('.//div/div/div[(position()=2) and (has-class("pc-content-text-wrap"))]') + obj_balance = CleanDecimal('./div[position()=3]/span', replace_dots=True) + obj_currency = u'EUR' + + def obj_type(self): + label = Field('label')(self).lower() + + for regex, account_type in self.page.ACCOUNT_TYPES.items(): + if (regex.match(label)): + return account_type + + return Account.TYPE_UNKNOWN + +class RecipientsPage(LoggedPage, PartialHTMLPage): + @method + class get_items(TableElement): + head_xpath = '//table[@id="tblBeneficiaryList"]/thead//td' + item_xpath = '//table[@id="tblBeneficiaryList"]//tr[has-class("beneficiary-data-rows")]' + + col_label = re.compile('Nom.*') + col_iban = re.compile('IBAN.*') + + class item(ItemElement): + klass = Recipient + + obj_id = Attr('.', 'beneficiaryid') + obj_label = CleanText(TableCell('label')) + obj_iban = CleanText(TableCell('iban')) + +class TransactionsPage(LoggedPage, CsvPage): + ENCODING = 'latin-1' + DIALECT = 'excel' + + # lines 1 to 5 are meta-data + # line 6 is empty + # line 7 describes the columns + HEADER = 7 + + @method + class iter_history(DictElement): + class item(ItemElement): + klass = Transaction + + # The CSV contains these columns: + # + # "Date opération","Date Valeur","Référence","Montant","Solde","Libellé" + obj_raw = Transaction.Raw(Dict(u'Libellé')) + obj_amount = CleanDecimal(Dict('Montant'), replace_dots=True) + obj_date = Date(Dict('Date opération'), parse_func=parse_french_date, dayfirst=True) + obj_vdate = Date(Dict('Date Valeur'), parse_func=parse_french_date, dayfirst=True) diff --git a/modules/nef/test.py b/modules/nef/test.py new file mode 100644 index 000000000..fcdd1253a --- /dev/null +++ b/modules/nef/test.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2019 Damien Cassou +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + +from weboob.tools.test import BackendTest +from weboob.tools.capabilities.bank.test import BankStandardTest + + +class NefTest(BankStandardTest, BackendTest): + MODULE = 'nef' diff --git a/modules/nef/transaction.py b/modules/nef/transaction.py new file mode 100644 index 000000000..324bcd37f --- /dev/null +++ b/modules/nef/transaction.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- + +from weboob.tools.capabilities.bank.transactions import FrenchTransaction + +import re + +class Transaction(FrenchTransaction): + PATTERNS = [ + # Money arrives on the account: + (re.compile('^VIR\. O/ .* MOTIF: ?(?P.*)$'), FrenchTransaction.TYPE_TRANSFER), + # Money leaves the account: + (re.compile('^.* VIREMENT SEPA FAVEUR (?P.*)$'), FrenchTransaction.TYPE_TRANSFER), + # Taxes + (re.compile('^TAXE SUR .*$'), FrenchTransaction.TYPE_BANK), + (re.compile(u'^Prélèvements Sociaux.*$'), FrenchTransaction.TYPE_BANK), + # Interest income + (re.compile(u'^Intérêts Créditeurs.*$'), FrenchTransaction.TYPE_BANK), + (re.compile(u'^REMISE DE CHEQUES.*$'), FrenchTransaction.TYPE_DEPOSIT), + (re.compile(u'^VIREMENT D\'ORDRE DE LA NEF.*$'), FrenchTransaction.TYPE_DEPOSIT), + (re.compile(u'^MISE A JOUR STOCK.*$'), FrenchTransaction.TYPE_ORDER) + ] diff --git a/modules/netfinca/__init__.py b/modules/netfinca/__init__.py new file mode 100644 index 000000000..83d29411f --- /dev/null +++ b/modules/netfinca/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2012-2019 Budget-Insight +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + + +from .module import NetfincaModule + + +__all__ = ['NetfincaModule'] diff --git a/modules/netfinca/browser.py b/modules/netfinca/browser.py new file mode 100644 index 000000000..34afddbdf --- /dev/null +++ b/modules/netfinca/browser.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2012-2019 Budget-Insight +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + + +from weboob.browser import LoginBrowser, URL +from weboob.exceptions import BrowserUnavailable + +from .pages import InvestmentsPage, AccountsPage + + +class NetfincaBrowser(LoginBrowser): + accounts = URL(r'/netfinca-titres/servlet/com.netfinca.frontcr.synthesis.HomeSynthesis', AccountsPage) + investments = URL(r'/netfinca-titres/servlet/com.netfinca.frontcr.account.WalletVal\?nump=(?P.*)', InvestmentsPage) + + def do_login(self): + raise BrowserUnavailable() + + def iter_accounts(self): + self.accounts.stay_or_go() + return self.page.get_accounts() + + def iter_investments(self, account): + self.accounts.stay_or_go() + + nump_id = self.page.get_nump_id(account) + self.investments.go(nump_id=nump_id) + + for invest in self.page.get_investments(account_currency=account.currency): + yield invest + + liquidity = self.page.get_liquidity() + if liquidity: + yield liquidity diff --git a/modules/netfinca/module.py b/modules/netfinca/module.py new file mode 100644 index 000000000..6987162d1 --- /dev/null +++ b/modules/netfinca/module.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2012-2019 Budget-Insight +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + + +from weboob.tools.backend import Module + +from .browser import NetfincaBrowser + +__all__ = ['NetfincaModule'] + + +class NetfincaModule(Module): + NAME = 'netfinca' + DESCRIPTION = 'netfinca website' + MAINTAINER = 'Martin Sicot' + EMAIL = 'martin.sicot@budget-insight.com' + LICENSE = 'LGPLv3+' + VERSION = '1.5' + + BROWSER = NetfincaBrowser diff --git a/modules/netfinca/pages.py b/modules/netfinca/pages.py new file mode 100644 index 000000000..f40ce72cf --- /dev/null +++ b/modules/netfinca/pages.py @@ -0,0 +1,205 @@ +# -*- coding: utf-8 -*- + +# Copyright(C) 2012-2019 Budget-Insight +# +# This file is part of a weboob module. +# +# This weboob module is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser 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, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this weboob module. If not, see . + +from __future__ import unicode_literals + +import re +from decimal import Decimal +import datetime + +from weboob.browser.pages import HTMLPage, LoggedPage +from weboob.browser.elements import method, ItemElement, TableElement +from weboob.browser.filters.standard import CleanText, CleanDecimal, Currency +from weboob.browser.filters.html import TableCell, Attr +from weboob.capabilities.bank import Investment, Account +from weboob.capabilities.base import NotAvailable +from weboob.tools.capabilities.bank.investments import is_isin_valid, create_french_liquidity + + +class AccountsPage(LoggedPage, HTMLPage): + + # UTF8 tag in the meta div, but that's wrong + ENCODING = 'iso-8859-1' + + @method + class get_accounts(TableElement): + + head_xpath = '//table[contains(@class,"tableau_comptes_details")]//th' + + # There is not 'tbody' balise in the table, we have to get all tr and get out thead and tfoot ones + item_xpath = '//table[contains(@class,"tableau_comptes_details")]//tr[not(ancestor::thead) and not(ancestor::tfoot)]' + + col_id = col_label = 'Comptes' + col_owner = 'Titulaire du compte' + col_balance = re.compile(r'.*Valorisation totale.*') + + class item(ItemElement): + klass = Account + + obj_owner = CleanText(TableCell('owner')) + obj_type = Account.TYPE_MARKET + + def obj_id(self): + tablecell = TableCell('id')(self)[0] + id = tablecell.xpath('./div[position()=2]') + return CleanText().filter(id) + + def obj_label(self): + tablecell = TableCell('label')(self)[0] + label = tablecell.xpath('./div[position()=1]') + return CleanText(label)(self) + + def obj_balance(self): + tablecell = TableCell('balance')(self)[0] + b = tablecell.xpath('./span[@class="intraday"]') + balance = CleanDecimal(replace_dots=True).filter(b) + return Decimal(balance) + + def obj_currency(self): + tablecell = TableCell('balance')(self)[0] + text = tablecell.xpath('./span/text()')[0] + regex = '[0-9,.]* (.*)' + currency = Currency().filter(re.search(regex, text).group(1)) + + return currency + + def get_nump_id(self, account): + # Return an element needed in the request in order to access investments details + attr = Attr('//td[contains(@id, "wallet-%s")]' % account.id, 'onclick')(self.doc) + return re.search('([0-9]+:[0-9]+)', attr).group(1) + + +class InvestmentsPage(LoggedPage, HTMLPage): + + # UTF8 tag in the meta div, but that's wrong + ENCODING = 'iso-8859-1' + + @method + class get_investments(TableElement): + + item_xpath = '//table[@id="tableValeurs"]/tbody/tr[starts-with(@id, "ContentDetPosInLine")]' + head_xpath = '//table[@id="tableValeurs"]/thead//th' + + col_label = col_code = 'Valeur / Isin' + col_quantity = ['Quantité', 'Qté'] + col_unitvalue = col_vdate = 'Cours' + col_valuation = ['Valorisation totale', 'Val. totale'] + col_unitprice = 'Prix de revient' + col_diff = '+/- Value latente' + + # Due to a bug in TableCell, column's number match with tdcell-1 + # Had to use each time in xpath to get the right cell + # @todo : Correct the TableCell class and this module + + class item(ItemElement): + klass = Investment + + obj_diff = CleanDecimal(TableCell('diff', colspan=True), replace_dots=True) + obj_unitprice = CleanDecimal(TableCell('unitprice', colspan=True), replace_dots=True) + obj_valuation = CleanDecimal(TableCell('valuation', colspan=True), replace_dots=True) + + def obj_quantity(self): + tablecell = TableCell('quantity', colspan=True)(self)[0] + return CleanDecimal(tablecell.xpath('./span'), replace_dots=True)(self) + + def obj_label(self): + tablecell = TableCell('label', colspan=True)(self)[0] + label = CleanText(tablecell.xpath('./following-sibling::td[@class=""]/div/a')[0])(self) + return label + + def obj_code(self): + # We try to get the code from div. If we didn't find code in url, + # we try to find it in the cell text + + tablecell = TableCell('label', colspan=True)(self)[0] + # url find try + url = tablecell.xpath('./following-sibling::td[position()=1]/div/a')[0].attrib['href'] + code_match = re.search(r'sico=([A-Z0-9]*)', url) + + if code_match: + if is_isin_valid(code_match.group(1)): + return code_match.group(1) + + # cell text find try + text = CleanText(tablecell.xpath('./following-sibling::td[position()=1]/div')[0])(self) + + for code in text.split(' '): + if is_isin_valid(code): + return code + return NotAvailable + + def obj_code_type(self): + if is_isin_valid(self.obj_code()): + return Investment.CODE_TYPE_ISIN + return NotAvailable + + + def obj_unitvalue(self): + currency, unitvalue = self.original_unitvalue() + + if currency == self.env['account_currency']: + return unitvalue + return NotAvailable + + def obj_original_currency(self): + currency, unitvalue = self.original_unitvalue() + + if currency != self.env['account_currency']: + return currency + + def obj_original_unitvalue(self): + currency, unitvalue = self.original_unitvalue() + + if currency != self.env['account_currency']: + return unitvalue + + def obj_vdate(self): + tablecell = TableCell('vdate', colspan=True)(self)[0] + vdate_scrapped = tablecell.xpath('./preceding-sibling::td[position()=1]//span/text()')[0] + + # Scrapped date could be a schedule time (00:00) or a date (01/01/1970) + vdate = NotAvailable + + if ':' in vdate_scrapped: + today = datetime.date.today() + h, m = [int(x) for x in vdate_scrapped.split(':')] + hour = datetime.time(hour=h, minute=m) + vdate = datetime.datetime.combine(today, hour) + + elif '/' in vdate_scrapped: + vdate = datetime.datetime.strptime(vdate_scrapped, '%d/%m/%y') + + return vdate + + # extract unitvalue and currency + def original_unitvalue(self): + tablecell = TableCell('unitvalue', colspan=True)(self)[0] + text = tablecell.xpath('./text()')[0] + + regex = '[0-9,]* (.*)' + currency = Currency().filter(re.search(regex, text).group(1)) + + return currency, CleanDecimal(replace_dots=True).filter(text) + + def get_liquidity(self): + liquidity_element = self.doc.xpath('//td[contains(text(), "Solde espèces en euros")]//following-sibling::td[position()=1]') + assert len(liquidity_element) <= 1 + if liquidity_element: + valuation = CleanDecimal(replace_dots=True).filter(liquidity_element[0]) + return create_french_liquidity(valuation) diff --git a/modules/newsfeed/__init__.py b/modules/newsfeed/__init__.py index 1d8fe59eb..0d31a388b 100644 --- a/modules/newsfeed/__init__.py +++ b/modules/newsfeed/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NewsfeedModule diff --git a/modules/newsfeed/module.py b/modules/newsfeed/module.py index e8fa32280..faf818e8e 100644 --- a/modules/newsfeed/module.py +++ b/modules/newsfeed/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/newsfeed/test.py b/modules/newsfeed/test.py index 05b452973..e82adc8e8 100644 --- a/modules/newsfeed/test.py +++ b/modules/newsfeed/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Clément Schreiner # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/nova/__init__.py b/modules/nova/__init__.py index 9c0133297..938002c82 100644 --- a/modules/nova/__init__.py +++ b/modules/nova/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NovaModule diff --git a/modules/nova/module.py b/modules/nova/module.py index e8d9a7962..8d9cfafb8 100644 --- a/modules/nova/module.py +++ b/modules/nova/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/nova/test.py b/modules/nova/test.py index 8ac6d425b..6e336712e 100644 --- a/modules/nova/test.py +++ b/modules/nova/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/okc/__init__.py b/modules/okc/__init__.py index 96e480485..4f575932d 100644 --- a/modules/okc/__init__.py +++ b/modules/okc/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .browser import OkCBrowser diff --git a/modules/okc/browser.py b/modules/okc/browser.py index 4c999f481..a12efb841 100644 --- a/modules/okc/browser.py +++ b/modules/okc/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL from weboob.exceptions import BrowserIncorrectPassword diff --git a/modules/okc/module.py b/modules/okc/module.py index 4f63c1733..04d02f0e6 100644 --- a/modules/okc/module.py +++ b/modules/okc/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict from datetime import datetime diff --git a/modules/okc/optim/profiles_walker.py b/modules/okc/optim/profiles_walker.py index f78eab6f9..761bd135e 100644 --- a/modules/okc/optim/profiles_walker.py +++ b/modules/okc/optim/profiles_walker.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime from dateutil.relativedelta import relativedelta diff --git a/modules/oney/__init__.py b/modules/oney/__init__.py index dc32a3f31..271b43865 100644 --- a/modules/oney/__init__.py +++ b/modules/oney/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Budget Insight # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import OneyModule diff --git a/modules/oney/browser.py b/modules/oney/browser.py index 3245cae8e..41ee0a598 100644 --- a/modules/oney/browser.py +++ b/modules/oney/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Budget Insight # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date diff --git a/modules/oney/module.py b/modules/oney/module.py index 716b2e021..06ca1bef2 100644 --- a/modules/oney/module.py +++ b/modules/oney/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Budget Insight # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank, AccountNotFound diff --git a/modules/oney/pages.py b/modules/oney/pages.py index 7ab2d691b..0fb38b0ce 100644 --- a/modules/oney/pages.py +++ b/modules/oney/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Budget Insight # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/onlinenet/__init__.py b/modules/onlinenet/__init__.py index 56b18e3c3..67c11dad6 100644 --- a/modules/onlinenet/__init__.py +++ b/modules/onlinenet/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import OnlinenetModule diff --git a/modules/onlinenet/browser.py b/modules/onlinenet/browser.py index 6eeb247da..2cf5af243 100644 --- a/modules/onlinenet/browser.py +++ b/modules/onlinenet/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/onlinenet/module.py b/modules/onlinenet/module.py index 403ba10ba..bb1b7b093 100644 --- a/modules/onlinenet/module.py +++ b/modules/onlinenet/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Document, SubscriptionNotFound, DocumentNotFound diff --git a/modules/onlinenet/pages.py b/modules/onlinenet/pages.py index f9f668175..d27929b01 100644 --- a/modules/onlinenet/pages.py +++ b/modules/onlinenet/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/onlinenet/test.py b/modules/onlinenet/test.py index 4075dca35..f6e614bfb 100644 --- a/modules/onlinenet/test.py +++ b/modules/onlinenet/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/openedx/__init__.py b/modules/openedx/__init__.py index a254697b7..514bacf92 100644 --- a/modules/openedx/__init__.py +++ b/modules/openedx/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Simon Lipp # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import OpenEDXModule diff --git a/modules/openedx/browser.py b/modules/openedx/browser.py index 7aa267af4..7719b9991 100644 --- a/modules/openedx/browser.py +++ b/modules/openedx/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Simon Lipp # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login from weboob.browser.pages import RawPage, JsonPage, HTMLPage diff --git a/modules/openedx/module.py b/modules/openedx/module.py index b8bb976cc..83fe759d9 100644 --- a/modules/openedx/module.py +++ b/modules/openedx/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Simon Lipp # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import dateutil.parser diff --git a/modules/openedx/test.py b/modules/openedx/test.py index 15e87902c..41ccb134f 100644 --- a/modules/openedx/test.py +++ b/modules/openedx/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Simon Lipp # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/opensubtitles/__init__.py b/modules/opensubtitles/__init__.py index 09accf42a..0bdb5950d 100644 --- a/modules/opensubtitles/__init__.py +++ b/modules/opensubtitles/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import OpensubtitlesModule diff --git a/modules/opensubtitles/browser.py b/modules/opensubtitles/browser.py index 0439fba3f..2b58bdca1 100644 --- a/modules/opensubtitles/browser.py +++ b/modules/opensubtitles/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/opensubtitles/module.py b/modules/opensubtitles/module.py index 752552e76..eb80a62a8 100644 --- a/modules/opensubtitles/module.py +++ b/modules/opensubtitles/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.subtitle import CapSubtitle, LanguageNotSupported, Subtitle from weboob.applications.suboob.suboob import LANGUAGE_CONV diff --git a/modules/opensubtitles/pages.py b/modules/opensubtitles/pages.py index edaa4c60a..7ec3fecd8 100644 --- a/modules/opensubtitles/pages.py +++ b/modules/opensubtitles/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.capabilities.subtitle import Subtitle diff --git a/modules/opensubtitles/test.py b/modules/opensubtitles/test.py index 6452f5897..aa5f9d5a7 100644 --- a/modules/opensubtitles/test.py +++ b/modules/opensubtitles/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/orange/browser.py b/modules/orange/browser.py index 0bb944c0d..1a3a95d9e 100644 --- a/modules/orange/browser.py +++ b/modules/orange/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012-2014 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/orange/module.py b/modules/orange/module.py index 863578f80..b2d1b8f11 100644 --- a/modules/orange/module.py +++ b/modules/orange/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Nicolas Duhamel # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Document, SubscriptionNotFound, DocumentNotFound diff --git a/modules/orange/pages/__init__.py b/modules/orange/pages/__init__.py index c87ea35fb..f6b5bdf20 100644 --- a/modules/orange/pages/__init__.py +++ b/modules/orange/pages/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .login import LoginPage from .bills import BillsPage diff --git a/modules/orange/pages/bills.py b/modules/orange/pages/bills.py index 5d875baed..5dff59bac 100644 --- a/modules/orange/pages/bills.py +++ b/modules/orange/pages/bills.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/orange/pages/login.py b/modules/orange/pages/login.py index 536dc8b41..b14d98dbe 100644 --- a/modules/orange/pages/login.py +++ b/modules/orange/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/orange/pages/profile.py b/modules/orange/pages/profile.py index 919d6c32d..8dec8fa0f 100644 --- a/modules/orange/pages/profile.py +++ b/modules/orange/pages/profile.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/ouifm/__init__.py b/modules/ouifm/__init__.py index 63d241ec0..44a318a8c 100644 --- a/modules/ouifm/__init__.py +++ b/modules/ouifm/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import OuiFMModule diff --git a/modules/ouifm/module.py b/modules/ouifm/module.py index 5dd01672a..72882ed17 100644 --- a/modules/ouifm/module.py +++ b/modules/ouifm/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.radio import CapRadio, Radio diff --git a/modules/ouifm/test.py b/modules/ouifm/test.py index aa59456f3..d569595ae 100644 --- a/modules/ouifm/test.py +++ b/modules/ouifm/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/ovh/__init__.py b/modules/ovh/__init__.py index 88e27c774..4b215fc61 100644 --- a/modules/ovh/__init__.py +++ b/modules/ovh/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import OvhModule diff --git a/modules/ovh/browser.py b/modules/ovh/browser.py index f5fb8b7ea..41f5feb12 100644 --- a/modules/ovh/browser.py +++ b/modules/ovh/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import time from requests.exceptions import HTTPError, TooManyRedirects from datetime import datetime, timedelta diff --git a/modules/ovh/module.py b/modules/ovh/module.py index 3ccdeba32..b3f60368b 100644 --- a/modules/ovh/module.py +++ b/modules/ovh/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Bill, SubscriptionNotFound, DocumentNotFound diff --git a/modules/ovh/pages.py b/modules/ovh/pages.py index be690c019..65a0c34a6 100644 --- a/modules/ovh/pages.py +++ b/modules/ovh/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Vincent Paredes # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, Bill, Subscription diff --git a/modules/pagesjaunes/__init__.py b/modules/pagesjaunes/__init__.py index cc0002423..996c14364 100644 --- a/modules/pagesjaunes/__init__.py +++ b/modules/pagesjaunes/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/pagesjaunes/browser.py b/modules/pagesjaunes/browser.py index 30b8f0113..19fac9ce2 100644 --- a/modules/pagesjaunes/browser.py +++ b/modules/pagesjaunes/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/pagesjaunes/module.py b/modules/pagesjaunes/module.py index d393bf218..0e990ad8d 100644 --- a/modules/pagesjaunes/module.py +++ b/modules/pagesjaunes/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/pagesjaunes/pages.py b/modules/pagesjaunes/pages.py index ab85b037e..db6b79833 100644 --- a/modules/pagesjaunes/pages.py +++ b/modules/pagesjaunes/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/pap/browser.py b/modules/pap/browser.py index e87d346e4..8d4badf80 100644 --- a/modules/pap/browser.py +++ b/modules/pap/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/pap/module.py b/modules/pap/module.py index f7aaab96f..138068300 100644 --- a/modules/pap/module.py +++ b/modules/pap/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import (CapHousing, Housing, HousingPhoto, diff --git a/modules/pap/pages.py b/modules/pap/pages.py index 5568f3954..6eb678371 100644 --- a/modules/pap/pages.py +++ b/modules/pap/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from decimal import Decimal diff --git a/modules/pap/test.py b/modules/pap/test.py index 3c0e954cc..312ca7a6a 100644 --- a/modules/pap/test.py +++ b/modules/pap/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import Query, POSTS_TYPES, ADVERT_TYPES from weboob.tools.test import BackendTest diff --git a/modules/pariskiwi/__init__.py b/modules/pariskiwi/__init__.py index 280266482..67da43de5 100644 --- a/modules/pariskiwi/__init__.py +++ b/modules/pariskiwi/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ParisKiwiModule diff --git a/modules/pariskiwi/browser.py b/modules/pariskiwi/browser.py index ccdd5df0e..82c7ac383 100644 --- a/modules/pariskiwi/browser.py +++ b/modules/pariskiwi/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/pariskiwi/module.py b/modules/pariskiwi/module.py index 0723cbb05..e65f0e4aa 100644 --- a/modules/pariskiwi/module.py +++ b/modules/pariskiwi/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/pariskiwi/test.py b/modules/pariskiwi/test.py index fffa44fe6..7aaadad96 100644 --- a/modules/pariskiwi/test.py +++ b/modules/pariskiwi/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/paroles2chansons/browser.py b/modules/paroles2chansons/browser.py index 94de12f52..b824287a6 100644 --- a/modules/paroles2chansons/browser.py +++ b/modules/paroles2chansons/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/paroles2chansons/module.py b/modules/paroles2chansons/module.py index ec80ba8c5..92ad00ee1 100644 --- a/modules/paroles2chansons/module.py +++ b/modules/paroles2chansons/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/paroles2chansons/pages.py b/modules/paroles2chansons/pages.py index 837ca78f6..7f5339dd0 100644 --- a/modules/paroles2chansons/pages.py +++ b/modules/paroles2chansons/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/paroles2chansons/test.py b/modules/paroles2chansons/test.py index dc5a8981f..3bcd992b5 100644 --- a/modules/paroles2chansons/test.py +++ b/modules/paroles2chansons/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/parolesmania/__init__.py b/modules/parolesmania/__init__.py index d666859e5..4c5ff7c7f 100644 --- a/modules/parolesmania/__init__.py +++ b/modules/parolesmania/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ParolesmaniaModule diff --git a/modules/parolesmania/browser.py b/modules/parolesmania/browser.py index 23365476e..3e166c41f 100644 --- a/modules/parolesmania/browser.py +++ b/modules/parolesmania/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/parolesmania/module.py b/modules/parolesmania/module.py index e4df5f2c1..b61770957 100644 --- a/modules/parolesmania/module.py +++ b/modules/parolesmania/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/parolesmania/pages.py b/modules/parolesmania/pages.py index bb433e85f..15afecfe6 100644 --- a/modules/parolesmania/pages.py +++ b/modules/parolesmania/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import SongLyrics diff --git a/modules/parolesmania/test.py b/modules/parolesmania/test.py index 8136506d7..b5609a9f6 100644 --- a/modules/parolesmania/test.py +++ b/modules/parolesmania/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/parolesmusique/browser.py b/modules/parolesmusique/browser.py index b0873e33a..67ad55750 100644 --- a/modules/parolesmusique/browser.py +++ b/modules/parolesmusique/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/parolesmusique/module.py b/modules/parolesmusique/module.py index 3ae3c33d2..f320ecb81 100644 --- a/modules/parolesmusique/module.py +++ b/modules/parolesmusique/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/parolesmusique/pages.py b/modules/parolesmusique/pages.py index 1cfd05f06..b027a120b 100644 --- a/modules/parolesmusique/pages.py +++ b/modules/parolesmusique/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import SongLyrics diff --git a/modules/parolesmusique/test.py b/modules/parolesmusique/test.py index 78d31b512..116a924ee 100644 --- a/modules/parolesmusique/test.py +++ b/modules/parolesmusique/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/parolesnet/browser.py b/modules/parolesnet/browser.py index 78f68f124..c8c3e66c5 100644 --- a/modules/parolesnet/browser.py +++ b/modules/parolesnet/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/parolesnet/module.py b/modules/parolesnet/module.py index 91f3ba0c1..6b7dec4e0 100644 --- a/modules/parolesnet/module.py +++ b/modules/parolesnet/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import CapLyrics, SongLyrics from weboob.tools.backend import Module diff --git a/modules/parolesnet/pages.py b/modules/parolesnet/pages.py index 54d22bff4..df4423af3 100644 --- a/modules/parolesnet/pages.py +++ b/modules/parolesnet/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.lyrics import SongLyrics diff --git a/modules/parolesnet/test.py b/modules/parolesnet/test.py index 021218e00..9ee075f69 100644 --- a/modules/parolesnet/test.py +++ b/modules/parolesnet/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/pastealacon/__init__.py b/modules/pastealacon/__init__.py index d29a57fb1..5b41d4011 100644 --- a/modules/pastealacon/__init__.py +++ b/modules/pastealacon/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PastealaconModule diff --git a/modules/pastealacon/browser.py b/modules/pastealacon/browser.py index 552ef4e41..65af6fb26 100644 --- a/modules/pastealacon/browser.py +++ b/modules/pastealacon/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2014 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/pastealacon/module.py b/modules/pastealacon/module.py index bb1e1e6cb..5c2106296 100644 --- a/modules/pastealacon/module.py +++ b/modules/pastealacon/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2014 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/pastealacon/test.py b/modules/pastealacon/test.py index f3bb2532b..fb80cbcb1 100644 --- a/modules/pastealacon/test.py +++ b/modules/pastealacon/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2014 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest, skip_without_config diff --git a/modules/pastebin/__init__.py b/modules/pastebin/__init__.py index 17cca4a8b..3964af6d3 100644 --- a/modules/pastebin/__init__.py +++ b/modules/pastebin/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PastebinModule diff --git a/modules/pastebin/browser.py b/modules/pastebin/browser.py index 008ab9d1a..42214cdcc 100644 --- a/modules/pastebin/browser.py +++ b/modules/pastebin/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2014 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/pastebin/module.py b/modules/pastebin/module.py index 332f7a516..c4271d856 100644 --- a/modules/pastebin/module.py +++ b/modules/pastebin/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2014 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import NotLoaded diff --git a/modules/pastebin/test.py b/modules/pastebin/test.py index 551bf0861..031535075 100644 --- a/modules/pastebin/test.py +++ b/modules/pastebin/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2014 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import NotLoaded from weboob.capabilities.paste import PasteNotFound diff --git a/modules/paypal/__init__.py b/modules/paypal/__init__.py index c79b935ea..02de401d6 100644 --- a/modules/paypal/__init__.py +++ b/modules/paypal/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PaypalModule diff --git a/modules/paypal/browser.py b/modules/paypal/browser.py index 4a6a00d04..1a6b0aa65 100644 --- a/modules/paypal/browser.py +++ b/modules/paypal/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/paypal/module.py b/modules/paypal/module.py index d9c9f40ac..c4468fed5 100644 --- a/modules/paypal/module.py +++ b/modules/paypal/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank, AccountNotFound diff --git a/modules/paypal/pages.py b/modules/paypal/pages.py index 458066b7b..e79bc7517 100644 --- a/modules/paypal/pages.py +++ b/modules/paypal/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from ast import literal_eval from decimal import Decimal, ROUND_DOWN diff --git a/modules/paypal/test.py b/modules/paypal/test.py index 136d3eb3c..d407fb268 100644 --- a/modules/paypal/test.py +++ b/modules/paypal/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/peertube/__init__.py b/modules/peertube/__init__.py index e070b900f..65a6be034 100644 --- a/modules/peertube/__init__.py +++ b/modules/peertube/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/peertube/browser.py b/modules/peertube/browser.py index 25e483ac7..57eb241f8 100644 --- a/modules/peertube/browser.py +++ b/modules/peertube/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/peertube/module.py b/modules/peertube/module.py index 7136e16c9..0a1b2ace7 100644 --- a/modules/peertube/module.py +++ b/modules/peertube/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/phpbb/__init__.py b/modules/phpbb/__init__.py index c4850ba1b..5622098a5 100644 --- a/modules/phpbb/__init__.py +++ b/modules/phpbb/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .browser import PhpBB diff --git a/modules/phpbb/browser.py b/modules/phpbb/browser.py index 927011e4d..9ba5b0ee7 100644 --- a/modules/phpbb/browser.py +++ b/modules/phpbb/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/phpbb/module.py b/modules/phpbb/module.py index 221a82e6d..38c511cd1 100644 --- a/modules/phpbb/module.py +++ b/modules/phpbb/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost, Message, Thread diff --git a/modules/phpbb/pages/forum.py b/modules/phpbb/pages/forum.py index 5a8c0573a..17a083301 100644 --- a/modules/phpbb/pages/forum.py +++ b/modules/phpbb/pages/forum.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from time import sleep diff --git a/modules/phpbb/pages/index.py b/modules/phpbb/pages/index.py index 0f7ce9d16..60de40ba1 100644 --- a/modules/phpbb/pages/index.py +++ b/modules/phpbb/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/phpbb/test.py b/modules/phpbb/test.py index f62aae2f1..d42552f54 100644 --- a/modules/phpbb/test.py +++ b/modules/phpbb/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/phpbb/tools.py b/modules/phpbb/tools.py index fbde8a954..b86c2dd79 100644 --- a/modules/phpbb/tools.py +++ b/modules/phpbb/tools.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from dateutil.parser import parse as _parse_dt diff --git a/modules/piratebay/browser.py b/modules/piratebay/browser.py index 7ade0d0eb..41f27763e 100644 --- a/modules/piratebay/browser.py +++ b/modules/piratebay/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2017 Julien Veyssier, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import URL, PagesBrowser diff --git a/modules/piratebay/module.py b/modules/piratebay/module.py index 1d43a3014..581814ff5 100644 --- a/modules/piratebay/module.py +++ b/modules/piratebay/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2017 Julien Veyssier, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import NotAvailable from weboob.capabilities.torrent import CapTorrent, MagnetOnly, Torrent diff --git a/modules/piratebay/pages/index.py b/modules/piratebay/pages/index.py index 83d6c24ad..6fbee8c06 100644 --- a/modules/piratebay/pages/index.py +++ b/modules/piratebay/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/piratebay/pages/torrents.py b/modules/piratebay/pages/torrents.py index cd10c7564..e01000c0c 100644 --- a/modules/piratebay/pages/torrents.py +++ b/modules/piratebay/pages/torrents.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Julien Veyssier, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.misc import get_bytes_size from weboob.browser.pages import HTMLPage diff --git a/modules/piratebay/test.py b/modules/piratebay/test.py index e31cb3574..a2f2da058 100644 --- a/modules/piratebay/test.py +++ b/modules/piratebay/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Julien Veyssier, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from random import choice diff --git a/modules/pixabay/__init__.py b/modules/pixabay/__init__.py index 3fd3ea1d3..b33c4d009 100644 --- a/modules/pixabay/__init__.py +++ b/modules/pixabay/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PixabayModule diff --git a/modules/pixabay/browser.py b/modules/pixabay/browser.py index ad3c5d058..c16b5130f 100644 --- a/modules/pixabay/browser.py +++ b/modules/pixabay/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.browser import URL diff --git a/modules/pixabay/module.py b/modules/pixabay/module.py index 9386a429f..39cbaf8f8 100644 --- a/modules/pixabay/module.py +++ b/modules/pixabay/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.image import CapImage, BaseImage, Thumbnail diff --git a/modules/pixabay/pages.py b/modules/pixabay/pages.py index 5f46545b1..aa89e75d7 100644 --- a/modules/pixabay/pages.py +++ b/modules/pixabay/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.filters.html import Attr diff --git a/modules/pixabay/test.py b/modules/pixabay/test.py index 2d898537f..6addf29f9 100644 --- a/modules/pixabay/test.py +++ b/modules/pixabay/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/pixtoilelibre/__init__.py b/modules/pixtoilelibre/__init__.py index 1dc3e2145..69319d268 100644 --- a/modules/pixtoilelibre/__init__.py +++ b/modules/pixtoilelibre/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PixtoilelibreModule diff --git a/modules/pixtoilelibre/browser.py b/modules/pixtoilelibre/browser.py index 275abe3f5..fb92055a3 100644 --- a/modules/pixtoilelibre/browser.py +++ b/modules/pixtoilelibre/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64encode from io import BytesIO diff --git a/modules/pixtoilelibre/module.py b/modules/pixtoilelibre/module.py index f4bdbeef5..00340bd5e 100644 --- a/modules/pixtoilelibre/module.py +++ b/modules/pixtoilelibre/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode import re diff --git a/modules/pixtoilelibre/pages.py b/modules/pixtoilelibre/pages.py index 080f7d289..be033e7e7 100644 --- a/modules/pixtoilelibre/pages.py +++ b/modules/pixtoilelibre/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/pixtoilelibre/test.py b/modules/pixtoilelibre/test.py index 536083a17..42122b1aa 100644 --- a/modules/pixtoilelibre/test.py +++ b/modules/pixtoilelibre/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode diff --git a/modules/playme/__init__.py b/modules/playme/__init__.py index 990f3a3bf..2d01f6bf2 100644 --- a/modules/playme/__init__.py +++ b/modules/playme/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PlayMeModule diff --git a/modules/playme/browser.py b/modules/playme/browser.py index a97b8ace7..7c49b7d70 100644 --- a/modules/playme/browser.py +++ b/modules/playme/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/playme/module.py b/modules/playme/module.py index fe01f6e7f..ef39bf545 100644 --- a/modules/playme/module.py +++ b/modules/playme/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/playme/test.py b/modules/playme/test.py index 00b81a7f0..e102de48f 100644 --- a/modules/playme/test.py +++ b/modules/playme/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/podnapisi/__init__.py b/modules/podnapisi/__init__.py index 1aa5e9b47..4b5fd78fb 100644 --- a/modules/podnapisi/__init__.py +++ b/modules/podnapisi/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PodnapisiModule diff --git a/modules/podnapisi/browser.py b/modules/podnapisi/browser.py index c41a6c1a0..593ba4c41 100644 --- a/modules/podnapisi/browser.py +++ b/modules/podnapisi/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/podnapisi/module.py b/modules/podnapisi/module.py index 03118aa42..8f84f3bff 100644 --- a/modules/podnapisi/module.py +++ b/modules/podnapisi/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.subtitle import CapSubtitle, LanguageNotSupported from weboob.applications.suboob.suboob import LANGUAGE_CONV diff --git a/modules/podnapisi/pages.py b/modules/podnapisi/pages.py index e2c31cc2a..7313c0714 100644 --- a/modules/podnapisi/pages.py +++ b/modules/podnapisi/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from weboob.browser.elements import TableElement, ItemElement, method diff --git a/modules/podnapisi/test.py b/modules/podnapisi/test.py index c284567e8..f0e82f553 100644 --- a/modules/podnapisi/test.py +++ b/modules/podnapisi/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/poivy/__init__.py b/modules/poivy/__init__.py index 58be39414..539ca45ba 100644 --- a/modules/poivy/__init__.py +++ b/modules/poivy/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PoivyModule diff --git a/modules/poivy/browser.py b/modules/poivy/browser.py index ccd3abc92..12304d9f7 100644 --- a/modules/poivy/browser.py +++ b/modules/poivy/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Fourcot Florent # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login from weboob.exceptions import BrowserIncorrectPassword diff --git a/modules/poivy/module.py b/modules/poivy/module.py index 9c3d6e336..b8133012f 100644 --- a/modules/poivy/module.py +++ b/modules/poivy/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import CapDocument, Subscription, SubscriptionNotFound, Detail diff --git a/modules/poivy/pages.py b/modules/poivy/pages.py index 44c03b19c..c875b777d 100644 --- a/modules/poivy/pages.py +++ b/modules/poivy/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.exceptions import BrowserBanned from weboob.browser.pages import HTMLPage, LoggedPage, pagination diff --git a/modules/poivy/test.py b/modules/poivy/test.py index a5784d1ef..f5baa8368 100644 --- a/modules/poivy/test.py +++ b/modules/poivy/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Fourcot Florent # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/popolemploi/__init__.py b/modules/popolemploi/__init__.py index 3034ded7e..85b6a0fad 100644 --- a/modules/popolemploi/__init__.py +++ b/modules/popolemploi/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PopolemploiModule diff --git a/modules/popolemploi/browser.py b/modules/popolemploi/browser.py index 57055fc2e..407c4eff3 100644 --- a/modules/popolemploi/browser.py +++ b/modules/popolemploi/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import SearchPage, AdvertPage from weboob.browser import PagesBrowser, URL diff --git a/modules/popolemploi/module.py b/modules/popolemploi/module.py index e6ed965da..dabeb69c0 100644 --- a/modules/popolemploi/module.py +++ b/modules/popolemploi/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/popolemploi/pages.py b/modules/popolemploi/pages.py index c7f130fe4..db8dedb91 100644 --- a/modules/popolemploi/pages.py +++ b/modules/popolemploi/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.job import BaseJobAdvert from weboob.browser.pages import HTMLPage diff --git a/modules/popolemploi/test.py b/modules/popolemploi/test.py index 41128e8bc..3398c0d29 100644 --- a/modules/popolemploi/test.py +++ b/modules/popolemploi/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/pornhub/__init__.py b/modules/pornhub/__init__.py index c36e6bcd8..d0d296961 100644 --- a/modules/pornhub/__init__.py +++ b/modules/pornhub/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PornhubModule diff --git a/modules/pornhub/browser.py b/modules/pornhub/browser.py index 71938864c..fc56810ff 100644 --- a/modules/pornhub/browser.py +++ b/modules/pornhub/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/pornhub/module.py b/modules/pornhub/module.py index 6b1f85c5f..e85084f4a 100644 --- a/modules/pornhub/module.py +++ b/modules/pornhub/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import CapVideo, BaseVideo diff --git a/modules/pornhub/pages.py b/modules/pornhub/pages.py index 6aa72fe3e..b13adaf2f 100644 --- a/modules/pornhub/pages.py +++ b/modules/pornhub/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.elements import ListElement, ItemElement, method diff --git a/modules/pornhub/test.py b/modules/pornhub/test.py index 3acc5a5fb..77bd6639d 100644 --- a/modules/pornhub/test.py +++ b/modules/pornhub/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.misc import limit diff --git a/modules/pradoepargne/__init__.py b/modules/pradoepargne/__init__.py index 6bb94c021..a67b48e9f 100644 --- a/modules/pradoepargne/__init__.py +++ b/modules/pradoepargne/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import PradoepargneModule diff --git a/modules/pradoepargne/browser.py b/modules/pradoepargne/browser.py deleted file mode 100644 index 185191297..000000000 --- a/modules/pradoepargne/browser.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright(C) 2017 Edouard Lambert -# -# This file is part of weboob. -# -# weboob is free software: you can redistribute it and/or modify -# 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. -# -# weboob is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . - - -from weboob.browser import AbstractBrowser, URL - -from .pages import LoginPage - -class PradoBrowser(AbstractBrowser): - PARENT = 'cmes' - - login = URL('pradoepargne/fr/identification/default.cgi', LoginPage) - - def __init__(self, baseurl, subsite, login, password, *args, **kwargs): - self.weboob = kwargs['weboob'] - super(PradoBrowser, self).__init__(baseurl, login, password, subsite, *args, **kwargs) diff --git a/modules/pradoepargne/module.py b/modules/pradoepargne/module.py index a46ea4ea5..26130b0d4 100644 --- a/modules/pradoepargne/module.py +++ b/modules/pradoepargne/module.py @@ -2,34 +2,31 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . -from weboob.capabilities.bank import CapBankPockets, AccountNotFound -from weboob.tools.backend import Module, BackendConfig +from weboob.tools.backend import AbstractModule, BackendConfig from weboob.tools.value import ValueBackendPassword -from weboob.capabilities.base import find_object - -from .browser import PradoBrowser +from weboob.capabilities.bank import CapBankPockets __all__ = ['PradoepargneModule'] -class PradoepargneModule(Module, CapBankPockets): +class PradoepargneModule(AbstractModule, CapBankPockets): NAME = 'pradoepargne' DESCRIPTION = u'Prado Épargne Salariale' MAINTAINER = u'Edouard Lambert' @@ -40,26 +37,4 @@ class PradoepargneModule(Module, CapBankPockets): ValueBackendPassword('login', label='Identifiant', masked=False), ValueBackendPassword('password', label='Mot de passe')) - BROWSER = PradoBrowser - - def create_default_browser(self): - return self.create_browser("https://www.gestion-epargne-salariale.fr", - "pradoepargne/", - self.config['login'].get(), - self.config['password'].get(), - weboob=self.weboob) - - def get_account(self, _id): - return find_object(self.browser.iter_accounts(), id=_id, error=AccountNotFound) - - def iter_accounts(self): - return self.browser.iter_accounts() - - def iter_history(self, account): - return self.browser.iter_history(account) - - def iter_investment(self, account): - return self.browser.iter_investment(account) - - def iter_pocket(self, account): - return self.browser.iter_pocket(account) + PARENT = 'humanis' diff --git a/modules/pradoepargne/pages.py b/modules/pradoepargne/pages.py deleted file mode 100644 index 06a4fc60a..000000000 --- a/modules/pradoepargne/pages.py +++ /dev/null @@ -1,12 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright(C) 2012-2019 Budget Insight - - -from weboob.browser.pages import AbstractPage - - -class LoginPage(AbstractPage): - PARENT = 'cmes' - PARENT_URL = 'login' - BROWSER_ATTR = 'package.browser.CmesBrowser' diff --git a/modules/pradoepargne/test.py b/modules/pradoepargne/test.py index c2359fcfd..6e6b4ddbd 100644 --- a/modules/pradoepargne/test.py +++ b/modules/pradoepargne/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/presseurop/__init__.py b/modules/presseurop/__init__.py index bb96e384b..442fe9eac 100644 --- a/modules/presseurop/__init__.py +++ b/modules/presseurop/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NewspaperPresseuropModule diff --git a/modules/presseurop/browser.py b/modules/presseurop/browser.py index db3d7cf43..1899b0485 100644 --- a/modules/presseurop/browser.py +++ b/modules/presseurop/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import date, datetime, time from .pages import PresseuropPage diff --git a/modules/presseurop/module.py b/modules/presseurop/module.py index 5b4711f52..9a156befa 100644 --- a/modules/presseurop/module.py +++ b/modules/presseurop/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://www.presseurop.eu" from weboob.capabilities.messages import CapMessages, Thread diff --git a/modules/presseurop/pages.py b/modules/presseurop/pages.py index a358f893f..44bb2c509 100644 --- a/modules/presseurop/pages.py +++ b/modules/presseurop/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import AbstractPage from weboob.browser.filters.html import CSS, CleanHTML diff --git a/modules/presseurop/test.py b/modules/presseurop/test.py index 6b028e234..461751094 100644 --- a/modules/presseurop/test.py +++ b/modules/presseurop/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/presseurop/tools.py b/modules/presseurop/tools.py index 91820bfeb..2b3238a29 100644 --- a/modules/presseurop/tools.py +++ b/modules/presseurop/tools.py @@ -2,20 +2,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2012 Florent Fourcot -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/prixcarburants/browser.py b/modules/prixcarburants/browser.py index f8e7f82d5..caffcae05 100644 --- a/modules/prixcarburants/browser.py +++ b/modules/prixcarburants/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.capabilities.base import UserError diff --git a/modules/prixcarburants/module.py b/modules/prixcarburants/module.py index 737cccef7..4c4064c13 100644 --- a/modules/prixcarburants/module.py +++ b/modules/prixcarburants/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig from weboob.tools.value import Value diff --git a/modules/prixcarburants/pages.py b/modules/prixcarburants/pages.py index 9f8f071da..cdc9f195e 100644 --- a/modules/prixcarburants/pages.py +++ b/modules/prixcarburants/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage from weboob.browser.filters.standard import CleanText, Env, Field, CleanDecimal, Date, Format diff --git a/modules/prixcarburants/test.py b/modules/prixcarburants/test.py index a48f5aa27..0ef8d38e9 100644 --- a/modules/prixcarburants/test.py +++ b/modules/prixcarburants/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/radiofrance/__init__.py b/modules/radiofrance/__init__.py index 0027461dc..11b23a50a 100644 --- a/modules/radiofrance/__init__.py +++ b/modules/radiofrance/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Johann Broudin, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import RadioFranceModule diff --git a/modules/radiofrance/browser.py b/modules/radiofrance/browser.py index 721cb9db8..26bdebf97 100644 --- a/modules/radiofrance/browser.py +++ b/modules/radiofrance/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Johann Broudin, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import RadioPage, JsonPage, PodcastPage diff --git a/modules/radiofrance/module.py b/modules/radiofrance/module.py index 6b2dd20e1..91aca27f3 100644 --- a/modules/radiofrance/module.py +++ b/modules/radiofrance/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Johann Broudin, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import NotLoaded diff --git a/modules/radiofrance/pages.py b/modules/radiofrance/pages.py index 7cbf7662b..80b89611e 100644 --- a/modules/radiofrance/pages.py +++ b/modules/radiofrance/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.elements import ItemElement, DictElement, ListElement, method from weboob.browser.pages import HTMLPage, JsonPage, XMLPage diff --git a/modules/radiofrance/test.py b/modules/radiofrance/test.py index da4a3029f..a89144c60 100644 --- a/modules/radiofrance/test.py +++ b/modules/radiofrance/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011-2012 Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/ratp/__init__.py b/modules/ratp/__init__.py index 50c298a0e..ea1e6257b 100644 --- a/modules/ratp/__init__.py +++ b/modules/ratp/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import RATPModule diff --git a/modules/ratp/browser.py b/modules/ratp/browser.py index 1ee493449..68689408c 100644 --- a/modules/ratp/browser.py +++ b/modules/ratp/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/ratp/module.py b/modules/ratp/module.py index aeb1bf786..e13c95de9 100644 --- a/modules/ratp/module.py +++ b/modules/ratp/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/ratp/pages.py b/modules/ratp/pages.py index df8782737..e2c2e2516 100644 --- a/modules/ratp/pages.py +++ b/modules/ratp/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/ratp/test.py b/modules/ratp/test.py index dd2363553..af78f5801 100644 --- a/modules/ratp/test.py +++ b/modules/ratp/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Phyks (Lucas Verney) # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/razibus/__init__.py b/modules/razibus/__init__.py index 36c46d316..82d66a85b 100644 --- a/modules/razibus/__init__.py +++ b/modules/razibus/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import RazibusModule diff --git a/modules/razibus/browser.py b/modules/razibus/browser.py index 73088811c..f6a802f40 100644 --- a/modules/razibus/browser.py +++ b/modules/razibus/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/razibus/calendar.py b/modules/razibus/calendar.py index 4cdc4fc2d..6e6772069 100644 --- a/modules/razibus/calendar.py +++ b/modules/razibus/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS, CATEGORIES diff --git a/modules/razibus/module.py b/modules/razibus/module.py index eeb346c65..1669d96c9 100644 --- a/modules/razibus/module.py +++ b/modules/razibus/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/razibus/pages.py b/modules/razibus/pages.py index 378893a80..ea62cc751 100644 --- a/modules/razibus/pages.py +++ b/modules/razibus/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .calendar import RazibusCalendarEvent diff --git a/modules/razibus/test.py b/modules/razibus/test.py index de1b81130..5e6d8ae5e 100644 --- a/modules/razibus/test.py +++ b/modules/razibus/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/reddit/__init__.py b/modules/reddit/__init__.py index 7f32bc3f1..3f46ef279 100644 --- a/modules/reddit/__init__.py +++ b/modules/reddit/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/reddit/browser.py b/modules/reddit/browser.py index d5d84a2e2..5566cb305 100644 --- a/modules/reddit/browser.py +++ b/modules/reddit/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/reddit/module.py b/modules/reddit/module.py index a50df2568..81cc7fadf 100644 --- a/modules/reddit/module.py +++ b/modules/reddit/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/reddit/pages.py b/modules/reddit/pages.py index db72b5d89..ae11da595 100644 --- a/modules/reddit/pages.py +++ b/modules/reddit/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/reddit/test.py b/modules/reddit/test.py index 0f2027444..5ba92fd71 100644 --- a/modules/reddit/test.py +++ b/modules/reddit/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/redmine/__init__.py b/modules/redmine/__init__.py index 777fae6c4..3a7041563 100644 --- a/modules/redmine/__init__.py +++ b/modules/redmine/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import RedmineModule diff --git a/modules/redmine/browser.py b/modules/redmine/browser.py index 01bf010f0..0d9b644a1 100644 --- a/modules/redmine/browser.py +++ b/modules/redmine/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re import lxml.html diff --git a/modules/redmine/module.py b/modules/redmine/module.py index 20ab3eb48..4a971cd95 100644 --- a/modules/redmine/module.py +++ b/modules/redmine/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.content import CapContent, Content diff --git a/modules/redmine/pages/index.py b/modules/redmine/pages/index.py index 7dc052f22..91537eb9e 100644 --- a/modules/redmine/pages/index.py +++ b/modules/redmine/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/redmine/pages/issues.py b/modules/redmine/pages/issues.py index e0037429f..b9394d2ee 100644 --- a/modules/redmine/pages/issues.py +++ b/modules/redmine/pages/issues.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/redmine/pages/wiki.py b/modules/redmine/pages/wiki.py index 325e785e7..b34ebb24c 100644 --- a/modules/redmine/pages/wiki.py +++ b/modules/redmine/pages/wiki.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .index import BaseHTMLPage diff --git a/modules/regionsjob/__init__.py b/modules/regionsjob/__init__.py index 7c415ac8e..8ccd33017 100644 --- a/modules/regionsjob/__init__.py +++ b/modules/regionsjob/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import RegionsjobModule diff --git a/modules/regionsjob/browser.py b/modules/regionsjob/browser.py index 0a8d998d2..d8ee5c598 100644 --- a/modules/regionsjob/browser.py +++ b/modules/regionsjob/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/regionsjob/module.py b/modules/regionsjob/module.py index 540a7340f..f56930bfc 100644 --- a/modules/regionsjob/module.py +++ b/modules/regionsjob/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/regionsjob/pages.py b/modules/regionsjob/pages.py index a1fcdd726..cc39e1337 100644 --- a/modules/regionsjob/pages.py +++ b/modules/regionsjob/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, pagination, JsonPage from weboob.browser.elements import ItemElement, ListElement, method diff --git a/modules/regionsjob/test.py b/modules/regionsjob/test.py index 6f3d4f2fa..582eb5833 100644 --- a/modules/regionsjob/test.py +++ b/modules/regionsjob/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/relaiscolis/__init__.py b/modules/relaiscolis/__init__.py index 6274791d8..9c697eb69 100644 --- a/modules/relaiscolis/__init__.py +++ b/modules/relaiscolis/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Mickaël Thomas # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/relaiscolis/browser.py b/modules/relaiscolis/browser.py index 361d709d5..48dc6576d 100644 --- a/modules/relaiscolis/browser.py +++ b/modules/relaiscolis/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Mickaël Thomas # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/relaiscolis/module.py b/modules/relaiscolis/module.py index 224e48c06..d7c2f4cb1 100644 --- a/modules/relaiscolis/module.py +++ b/modules/relaiscolis/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Mickaël Thomas # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/residentadvisor/__init__.py b/modules/residentadvisor/__init__.py index 12ba20de4..304594f15 100644 --- a/modules/residentadvisor/__init__.py +++ b/modules/residentadvisor/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Alexandre Morignot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ResidentadvisorModule diff --git a/modules/residentadvisor/browser.py b/modules/residentadvisor/browser.py index d92627aae..ae8702e93 100644 --- a/modules/residentadvisor/browser.py +++ b/modules/residentadvisor/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Alexandre Morignot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login diff --git a/modules/residentadvisor/module.py b/modules/residentadvisor/module.py index ca3cbada2..5d9054800 100644 --- a/modules/residentadvisor/module.py +++ b/modules/residentadvisor/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Alexandre Morignot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/residentadvisor/pages.py b/modules/residentadvisor/pages.py index a0dba14fc..5f957707f 100644 --- a/modules/residentadvisor/pages.py +++ b/modules/residentadvisor/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Alexandre Morignot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import CATEGORIES, STATUS, TICKET diff --git a/modules/residentadvisor/test.py b/modules/residentadvisor/test.py index 8ce7e0e10..abc4428e1 100644 --- a/modules/residentadvisor/test.py +++ b/modules/residentadvisor/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Alexandre Morignot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/rmll/__init__.py b/modules/rmll/__init__.py index 55777ddc2..9a4326eaa 100644 --- a/modules/rmll/__init__.py +++ b/modules/rmll/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Guilhem Bonnefille # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import RmllModule diff --git a/modules/rmll/browser.py b/modules/rmll/browser.py index 23ae15624..9b2d8453f 100644 --- a/modules/rmll/browser.py +++ b/modules/rmll/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Guilhem Bonnefille # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.browser.exceptions import HTTPNotFound diff --git a/modules/rmll/module.py b/modules/rmll/module.py index de3ade0fb..7679b65ad 100644 --- a/modules/rmll/module.py +++ b/modules/rmll/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Guilhem Bonnefille # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import CapVideo, BaseVideo from weboob.capabilities.collection import CapCollection, Collection diff --git a/modules/rmll/pages.py b/modules/rmll/pages.py index fe0611016..3719df03d 100644 --- a/modules/rmll/pages.py +++ b/modules/rmll/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Guilhem Bonnefille # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from datetime import timedelta diff --git a/modules/rmll/test.py b/modules/rmll/test.py index 63c43fdc2..c630c665f 100644 --- a/modules/rmll/test.py +++ b/modules/rmll/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Guilhem Bonnefille # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/rmll/video.py b/modules/rmll/video.py index df5735368..e3b5be2a5 100644 --- a/modules/rmll/video.py +++ b/modules/rmll/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Guilhem Bonnefille # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo diff --git a/modules/s2e/__init__.py b/modules/s2e/__init__.py index 3d80513b2..56e0a1e4a 100644 --- a/modules/s2e/__init__.py +++ b/modules/s2e/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import S2eModule diff --git a/modules/s2e/browser.py b/modules/s2e/browser.py index 8554a86bc..e7a6bde23 100644 --- a/modules/s2e/browser.py +++ b/modules/s2e/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login, StatesMixin diff --git a/modules/s2e/module.py b/modules/s2e/module.py index a8957bc9a..9736e9e39 100644 --- a/modules/s2e/module.py +++ b/modules/s2e/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/s2e/pages.py b/modules/s2e/pages.py index 4726e343a..4b8b8b2c0 100644 --- a/modules/s2e/pages.py +++ b/modules/s2e/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/s2e/test.py b/modules/s2e/test.py index 77ce451d8..c74dd4c1c 100644 --- a/modules/s2e/test.py +++ b/modules/s2e/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Christophe Lampin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/sachsen/__init__.py b/modules/sachsen/__init__.py index 14dfa6a30..131faf326 100644 --- a/modules/sachsen/__init__.py +++ b/modules/sachsen/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SachsenLevelModule diff --git a/modules/sachsen/browser.py b/modules/sachsen/browser.py index 9b7b0f769..ad011f157 100644 --- a/modules/sachsen/browser.py +++ b/modules/sachsen/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/sachsen/module.py b/modules/sachsen/module.py index 5cf8ee913..ec1c96686 100644 --- a/modules/sachsen/module.py +++ b/modules/sachsen/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .browser import SachsenBrowser from weboob.capabilities.gauge import CapGauge, GaugeSensor, Gauge,\ diff --git a/modules/sachsen/pages.py b/modules/sachsen/pages.py index 029f5b307..50c96013b 100644 --- a/modules/sachsen/pages.py +++ b/modules/sachsen/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import lxml.html from weboob.browser.pages import HTMLPage diff --git a/modules/sachsen/test.py b/modules/sachsen/test.py index c70d07638..0dc691fb0 100644 --- a/modules/sachsen/test.py +++ b/modules/sachsen/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/seloger/browser.py b/modules/seloger/browser.py index 78ca6db00..eab1efe3a 100644 --- a/modules/seloger/browser.py +++ b/modules/seloger/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import TypeNotSupported, POSTS_TYPES from weboob.tools.compat import urlencode diff --git a/modules/seloger/module.py b/modules/seloger/module.py index 81e2323e1..1e34665fa 100644 --- a/modules/seloger/module.py +++ b/modules/seloger/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import CapHousing, Housing, HousingPhoto diff --git a/modules/seloger/pages.py b/modules/seloger/pages.py index 3dbf02051..0941f87f6 100644 --- a/modules/seloger/pages.py +++ b/modules/seloger/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import XMLPage, JsonPage, pagination diff --git a/modules/seloger/test.py b/modules/seloger/test.py index 184c4cb01..fae7e086c 100644 --- a/modules/seloger/test.py +++ b/modules/seloger/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.housing import Query, POSTS_TYPES, ADVERT_TYPES from weboob.tools.test import BackendTest diff --git a/modules/senscritique/__init__.py b/modules/senscritique/__init__.py index 2f9b57662..bcbc8bc1d 100644 --- a/modules/senscritique/__init__.py +++ b/modules/senscritique/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SenscritiqueModule diff --git a/modules/senscritique/browser.py b/modules/senscritique/browser.py index 5e02c5b14..d3c51eda3 100644 --- a/modules/senscritique/browser.py +++ b/modules/senscritique/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import UserError from weboob.browser import PagesBrowser, URL diff --git a/modules/senscritique/calendar.py b/modules/senscritique/calendar.py index 9af0010b6..e3ab5aa6b 100644 --- a/modules/senscritique/calendar.py +++ b/modules/senscritique/calendar.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import BaseCalendarEvent, TRANSP, STATUS, CATEGORIES diff --git a/modules/senscritique/module.py b/modules/senscritique/module.py index 10be67d58..7d126cbad 100644 --- a/modules/senscritique/module.py +++ b/modules/senscritique/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module from weboob.capabilities.calendar import CapCalendarEvent, CATEGORIES diff --git a/modules/senscritique/pages.py b/modules/senscritique/pages.py index 0c5bccfa5..c729cbba7 100644 --- a/modules/senscritique/pages.py +++ b/modules/senscritique/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from .calendar import SensCritiquenCalendarEvent diff --git a/modules/senscritique/test.py b/modules/senscritique/test.py index 7d3742642..71f8aac9d 100644 --- a/modules/senscritique/test.py +++ b/modules/senscritique/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/societegenerale/__init__.py b/modules/societegenerale/__init__.py index 1bcaf69a2..ca5b81b80 100644 --- a/modules/societegenerale/__init__.py +++ b/modules/societegenerale/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SocieteGeneraleModule diff --git a/modules/societegenerale/browser.py b/modules/societegenerale/browser.py index fa0b906dc..91088ec75 100644 --- a/modules/societegenerale/browser.py +++ b/modules/societegenerale/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/societegenerale/captcha.py b/modules/societegenerale/captcha.py index 7c904064b..e4e6a95e8 100644 --- a/modules/societegenerale/captcha.py +++ b/modules/societegenerale/captcha.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import hashlib diff --git a/modules/societegenerale/module.py b/modules/societegenerale/module.py index 44acc7bbf..497c9650d 100644 --- a/modules/societegenerale/module.py +++ b/modules/societegenerale/module.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # Copyright(C) 2012-2013 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from decimal import Decimal diff --git a/modules/societegenerale/pages/accounts_list.py b/modules/societegenerale/pages/accounts_list.py index 3eef5ff81..0a95b2613 100644 --- a/modules/societegenerale/pages/accounts_list.py +++ b/modules/societegenerale/pages/accounts_list.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -115,6 +115,8 @@ class AccountsPage(JsonBasePage): 'PROJECTIS': Account.TYPE_LIFE_INSURANCE, 'VIE_FEDER': Account.TYPE_LIFE_INSURANCE, 'PALISSANDRE': Account.TYPE_LIFE_INSURANCE, + 'SOGECAPI_PATRIMOINE': Account.TYPE_LIFE_INSURANCE, + 'EBENE_CAPITALISATION': Account.TYPE_LIFE_INSURANCE, 'ASSURANCE_VIE_GENERALE': Account.TYPE_LIFE_INSURANCE, 'ASSURANCE_VIE_SOGECAP_GENERAL': Account.TYPE_LIFE_INSURANCE, 'RESERVEA': Account.TYPE_REVOLVING_CREDIT, @@ -128,7 +130,7 @@ class AccountsPage(JsonBasePage): obj_id = obj_number = CleanText(Dict('numeroCompteFormate'), replace=[(' ', '')]) obj_label = Dict('labelToDisplay') - obj_balance = CleanDecimal(Dict('soldes/soldeTotal')) + obj_balance = CleanDecimal(Dict('soldes/soldeActuel')) obj_coming = CleanDecimal(Dict('soldes/soldeEnCours')) obj_currency = Currency(Dict('soldes/devise')) obj__cards = Dict('cartes', default=[]) diff --git a/modules/societegenerale/pages/base.py b/modules/societegenerale/pages/base.py index 966a7f138..3f24cda83 100644 --- a/modules/societegenerale/pages/base.py +++ b/modules/societegenerale/pages/base.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal diff --git a/modules/societegenerale/pages/login.py b/modules/societegenerale/pages/login.py index e78f9d731..141b46c88 100644 --- a/modules/societegenerale/pages/login.py +++ b/modules/societegenerale/pages/login.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from io import BytesIO diff --git a/modules/societegenerale/pages/subscription.py b/modules/societegenerale/pages/subscription.py index 093435fff..352df1d27 100644 --- a/modules/societegenerale/pages/subscription.py +++ b/modules/societegenerale/pages/subscription.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals @@ -33,19 +33,21 @@ from .base import BasePage class BankStatementPage(LoggedPage, BasePage): @method class iter_subscription(TableElement): - item_xpath = '//table[.//th]//tr[td]' + item_xpath = '//table[.//th]//tr[td and @class="LGNTableRow"]' head_xpath = '//table//th' col_id = 'Numéro de Compte' - col_label = 'Derniers relevés' + col_label = 'Type de Compte' + col__last_document_label = 'Derniers relevés' class item(ItemElement): def condition(self): - return 'Récapitulatif annuel' not in CleanText(TableCell('label'))(self) + return 'Récapitulatif annuel' not in CleanText(TableCell('_last_document_label'))(self) klass = Subscription obj_id = CleanText(TableCell('id'), replace=[(' ', '')]) + obj_label = CleanText(TableCell('label')) @method class iter_searchable_subscription(TableElement): diff --git a/modules/societegenerale/pages/transfer.py b/modules/societegenerale/pages/transfer.py index a202a9cb1..04c479e8c 100644 --- a/modules/societegenerale/pages/transfer.py +++ b/modules/societegenerale/pages/transfer.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime import re @@ -61,7 +61,7 @@ class TransferJson(LoggedPage, JsonPage): return self.get_acc_transfer_id(account) def get_first_available_transfer_date(self): - return Date(Dict('donnees/listeEmetteursBeneficiaires/premiereDateExecutionPossible'))(self.doc) + return Date(Dict('donnees/listeEmetteursBeneficiaires/premiereDateExecutionPossible'), dayfirst=True)(self.doc) def get_account_ibans_dict(self): account_ibans = {} diff --git a/modules/societegenerale/sgpe/browser.py b/modules/societegenerale/sgpe/browser.py index 65a4416ab..7bcc955a5 100644 --- a/modules/societegenerale/sgpe/browser.py +++ b/modules/societegenerale/sgpe/browser.py @@ -2,25 +2,25 @@ # Copyright(C) 2013 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals -import re from datetime import date +from dateutil.relativedelta import relativedelta from weboob.browser.browsers import LoginBrowser, need_login, StatesMixin from weboob.browser.url import URL @@ -256,41 +256,6 @@ class SGProfessionalBrowser(SGEnterpriseBrowser, StatesMixin): self.need_reload_state = None super(SGProfessionalBrowser, self).load_state(state) - @need_login - def iter_subscription(self): - profile = self.get_profile() - subscriber = profile.name - - self.bank_statement_menu.go() - self.date_min, self.date_max = self.page.get_min_max_date() - - return self.page.iter_subscription(subscriber=subscriber) - - def get_month_by_range(self, end_month, month_range=3, january_limit=False): - begin_month = ((end_month - month_range) % 12) + 1 - - if january_limit: - if begin_month >=end_month: - return 1 - - return begin_month - - def exceed_date_min(self, month_min, end_month): - if end_month <= month_min: - return True - - def advance_month(self, end_month, end_year, month_range=3): - new_end_month = self.get_month_by_range(end_month, month_range) - if new_end_month > end_month: - end_year -= 1 - - begin_month = self.get_month_by_range(new_end_month, month_range) - begin_year = end_year - if begin_month > new_end_month: - begin_year -= 1 - - return new_end_month, end_year, begin_month, begin_year - def copy_recipient_obj(self, recipient): rcpt = Recipient() rcpt.id = recipient.iban @@ -508,53 +473,37 @@ class SGProfessionalBrowser(SGEnterpriseBrowser, StatesMixin): self.page.is_transfer_validated() return transfer + @need_login + def iter_subscription(self): + profile = self.get_profile() + subscriber = profile.name + + self.bank_statement_menu.go() + self.date_min, self.date_max = self.page.get_min_max_date() + return self.page.iter_subscription(subscriber=subscriber) + @need_login def iter_documents(self, subscribtion): # This quality website can only fetch documents through a form, looking for dates # with a range of 3 months maximum + search_date_max = self.date_max + search_date_min = None + is_end = False - m = re.search(r'(\d{2})/(\d{2})/(\d{4})', self.date_max) - end_day = int(m.group(1)) - end_month = int(m.group(2)) - end_year = int(m.group(3)) - - month_range = 3 - begin_day = 2 - begin_month = self.get_month_by_range(end_month) - begin_year = end_year - if begin_month > end_month: - begin_year -= 1 - - # current month - data = { - 'dt10_dateDebut' :'%02d/%02d/%d' % (begin_day, begin_month, begin_year), - 'dt10_dateFin': '%02d/%02d/%d' % (end_day, end_month, end_year), - 'cl2000_comptes': '["%s"]' % subscribtion.id, - 'cl200_typeRecherche': 'ADVANCED', - } - self.bank_statement_search.go(data=data) - for d in self.page.iter_documents(): - yield d - - # other months - m = re.search(r'(\d{2})/(\d{2})/(\d{4})', self.date_min) - year_min = int(m.group(3)) - month_min = int(m.group(2)) - day_min = int(m.group(1)) + # to avoid infinite loop + counter = 0 - end_day = 1 - is_end = False - while not is_end: - end_month, end_year, begin_month, begin_year = self.advance_month(end_month, end_year, month_range) + while not is_end and counter < 50: + # search for every 2 months + search_date_min = search_date_max - relativedelta(months=2) - if year_min == begin_year and self.exceed_date_min(month_min, begin_month): - begin_day = day_min - begin_month = month_min + if search_date_min < self.date_min: + search_date_min = self.date_min is_end = True data = { - 'dt10_dateDebut' :'%02d/%02d/%d' % (begin_day, begin_month, begin_year), - 'dt10_dateFin': '%02d/%02d/%d' % (end_day, end_month, end_year), + 'dt10_dateDebut' : search_date_min.strftime('%d/%m/%Y'), + 'dt10_dateFin': search_date_max.strftime('%d/%m/%Y'), 'cl2000_comptes': '["%s"]' % subscribtion.id, 'cl200_typeRecherche': 'ADVANCED', } @@ -562,3 +511,6 @@ class SGProfessionalBrowser(SGEnterpriseBrowser, StatesMixin): for d in self.page.iter_documents(): yield d + + search_date_max = search_date_min - relativedelta(days=1) + counter += 1 diff --git a/modules/societegenerale/sgpe/json_pages.py b/modules/societegenerale/sgpe/json_pages.py index c909e5262..d441c5fcf 100644 --- a/modules/societegenerale/sgpe/json_pages.py +++ b/modules/societegenerale/sgpe/json_pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Baptiste Delpey # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import requests from datetime import datetime @@ -213,8 +213,10 @@ class HistoryJsonPage(LoggedPage, JsonPage): class BankStatementPage(LoggedPage, JsonPage): def get_min_max_date(self): - criterium = self.doc['donnees']['criteres'] - return criterium['dateMin'], criterium['dateMax'] + min_date = Date(Dict('donnees/criteres/dateMin'), dayfirst=True, default=None)(self.doc) + max_date = Date(Dict('donnees/criteres/dateMax'), dayfirst=True, default=None)(self.doc) + assert min_date and max_date, 'There should have min date and max date to retrieve document' + return min_date, max_date @method class iter_subscription(DictElement): diff --git a/modules/societegenerale/sgpe/pages.py b/modules/societegenerale/sgpe/pages.py index 6167a718f..38cfc1c76 100644 --- a/modules/societegenerale/sgpe/pages.py +++ b/modules/societegenerale/sgpe/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/societegenerale/sgpe/transfer_pages.py b/modules/societegenerale/sgpe/transfer_pages.py index 9ba405811..e2f95ae28 100644 --- a/modules/societegenerale/sgpe/transfer_pages.py +++ b/modules/societegenerale/sgpe/transfer_pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Sylvie Ye # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/societegenerale/test.py b/modules/societegenerale/test.py index d9f60ccd1..b642899b8 100644 --- a/modules/societegenerale/test.py +++ b/modules/societegenerale/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Jocelyn Jaubert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/somafm/__init__.py b/modules/somafm/__init__.py index fb3b2c3d0..36d6be931 100644 --- a/modules/somafm/__init__.py +++ b/modules/somafm/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SomaFMModule diff --git a/modules/somafm/browser.py b/modules/somafm/browser.py index dadb6f80b..ca5b8b169 100644 --- a/modules/somafm/browser.py +++ b/modules/somafm/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.radio import Radio diff --git a/modules/somafm/module.py b/modules/somafm/module.py index 5bddd0a7b..92dcc022c 100644 --- a/modules/somafm/module.py +++ b/modules/somafm/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.radio import CapRadio, Radio from weboob.capabilities.collection import CapCollection diff --git a/modules/somafm/test.py b/modules/somafm/test.py index 1c092b29b..c428654d1 100644 --- a/modules/somafm/test.py +++ b/modules/somafm/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/spirica/__init__.py b/modules/spirica/__init__.py index ddc442178..dc8ea28c7 100644 --- a/modules/spirica/__init__.py +++ b/modules/spirica/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SpiricaModule diff --git a/modules/spirica/browser.py b/modules/spirica/browser.py index d2072a3b6..f3ca7770e 100644 --- a/modules/spirica/browser.py +++ b/modules/spirica/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/spirica/module.py b/modules/spirica/module.py index 4b33c5745..cd49dc853 100644 --- a/modules/spirica/module.py +++ b/modules/spirica/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/spirica/pages.py b/modules/spirica/pages.py index 155099ee5..96c5779ce 100644 --- a/modules/spirica/pages.py +++ b/modules/spirica/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/spirica/test.py b/modules/spirica/test.py index 10a9f9d00..c21362662 100644 --- a/modules/spirica/test.py +++ b/modules/spirica/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/sprunge/__init__.py b/modules/sprunge/__init__.py index 70131fe90..1bf9b02c5 100644 --- a/modules/sprunge/__init__.py +++ b/modules/sprunge/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SprungeModule diff --git a/modules/sprunge/browser.py b/modules/sprunge/browser.py index d03a50768..35a56697d 100644 --- a/modules/sprunge/browser.py +++ b/modules/sprunge/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.browsers import PagesBrowser from weboob.browser.elements import ItemElement, method diff --git a/modules/sprunge/module.py b/modules/sprunge/module.py index ea0e51457..ca8717cef 100644 --- a/modules/sprunge/module.py +++ b/modules/sprunge/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/sprunge/test.py b/modules/sprunge/test.py index 07c0831bb..d732f31c0 100644 --- a/modules/sprunge/test.py +++ b/modules/sprunge/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.base import NotAvailable diff --git a/modules/sueurdemetal/__init__.py b/modules/sueurdemetal/__init__.py index cba45eb5e..08e1011a3 100644 --- a/modules/sueurdemetal/__init__.py +++ b/modules/sueurdemetal/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SueurDeMetalModule diff --git a/modules/sueurdemetal/browser.py b/modules/sueurdemetal/browser.py index 3f7655827..b100eff1c 100644 --- a/modules/sueurdemetal/browser.py +++ b/modules/sueurdemetal/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/sueurdemetal/module.py b/modules/sueurdemetal/module.py index 040394265..78f57edaf 100644 --- a/modules/sueurdemetal/module.py +++ b/modules/sueurdemetal/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.calendar import CATEGORIES, BaseCalendarEvent, CapCalendarEvent, Query diff --git a/modules/sueurdemetal/pages.py b/modules/sueurdemetal/pages.py index f5a2f8620..2bc892ac1 100644 --- a/modules/sueurdemetal/pages.py +++ b/modules/sueurdemetal/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/sueurdemetal/test.py b/modules/sueurdemetal/test.py index 6acc1d330..2b3e46d9a 100644 --- a/modules/sueurdemetal/test.py +++ b/modules/sueurdemetal/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/supertoinette/__init__.py b/modules/supertoinette/__init__.py index 6cc4d55a6..cbea92730 100644 --- a/modules/supertoinette/__init__.py +++ b/modules/supertoinette/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import SupertoinetteModule diff --git a/modules/supertoinette/browser.py b/modules/supertoinette/browser.py index 9df6efaf1..9a094e0b6 100644 --- a/modules/supertoinette/browser.py +++ b/modules/supertoinette/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/supertoinette/module.py b/modules/supertoinette/module.py index 74f7654b7..b7101542f 100644 --- a/modules/supertoinette/module.py +++ b/modules/supertoinette/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import CapRecipe, Recipe from weboob.tools.backend import Module diff --git a/modules/supertoinette/pages.py b/modules/supertoinette/pages.py index 3017e8d37..ad47fe9fb 100644 --- a/modules/supertoinette/pages.py +++ b/modules/supertoinette/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.recipe import Recipe from weboob.capabilities.base import NotAvailable diff --git a/modules/supertoinette/test.py b/modules/supertoinette/test.py index 4ddc60404..f34c7c68c 100644 --- a/modules/supertoinette/test.py +++ b/modules/supertoinette/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/suravenir/__init__.py b/modules/suravenir/__init__.py index 30c74dee4..8b908b35f 100644 --- a/modules/suravenir/__init__.py +++ b/modules/suravenir/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Arthur Huillet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/suravenir/browser.py b/modules/suravenir/browser.py index 88bbcf64d..f3c863278 100644 --- a/modules/suravenir/browser.py +++ b/modules/suravenir/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Arthur Huillet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/suravenir/module.py b/modules/suravenir/module.py index bd75042c3..8e50323c2 100644 --- a/modules/suravenir/module.py +++ b/modules/suravenir/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Arthur Huillet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/suravenir/pages.py b/modules/suravenir/pages.py index 502709cc5..4a993b081 100644 --- a/modules/suravenir/pages.py +++ b/modules/suravenir/pages.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2018 Arthur Huillet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/suravenir/test.py b/modules/suravenir/test.py index 84881f161..9f72eab20 100644 --- a/modules/suravenir/test.py +++ b/modules/suravenir/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Arthur Huillet # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/t411/browser.py b/modules/t411/browser.py index 2bcca9f7f..eb8ce6b41 100644 --- a/modules/t411/browser.py +++ b/modules/t411/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2015-2016 Julien Veyssier # Copyright(C) 2016-2017 David Kremer # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/t411/module.py b/modules/t411/module.py index d32e3d464..f806832bb 100644 --- a/modules/t411/module.py +++ b/modules/t411/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015-2016 Julien Veyssier # Copyright(C) 2016-2017 David Kremer -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import CapTorrent from weboob.tools.backend import Module, BackendConfig diff --git a/modules/t411/pages/index.py b/modules/t411/pages/index.py index cdfd18a0c..b9703739d 100644 --- a/modules/t411/pages/index.py +++ b/modules/t411/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2015-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage diff --git a/modules/t411/pages/torrents.py b/modules/t411/pages/torrents.py index d7de6fcb4..cdd56b584 100644 --- a/modules/t411/pages/torrents.py +++ b/modules/t411/pages/torrents.py @@ -2,20 +2,20 @@ # Copyright(C) 2015-2016 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.misc import get_bytes_size from weboob.capabilities.torrent import Torrent diff --git a/modules/t411/test.py b/modules/t411/test.py index a5ce0878d..ef4785c88 100644 --- a/modules/t411/test.py +++ b/modules/t411/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/tapatalk/__init__.py b/modules/tapatalk/__init__.py index 251085e76..df1c2810f 100644 --- a/modules/tapatalk/__init__.py +++ b/modules/tapatalk/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Simon Lipp # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import TapatalkModule diff --git a/modules/tapatalk/module.py b/modules/tapatalk/module.py index 93bbd5359..ea29ca341 100644 --- a/modules/tapatalk/module.py +++ b/modules/tapatalk/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Simon Lipp # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import dateutil.parser import datetime diff --git a/modules/taz/__init__.py b/modules/taz/__init__.py index 531a5fd52..10f1d6f15 100644 --- a/modules/taz/__init__.py +++ b/modules/taz/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import NewspaperTazModule diff --git a/modules/taz/browser.py b/modules/taz/browser.py index 7ec86896b..6d618ebaa 100644 --- a/modules/taz/browser.py +++ b/modules/taz/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .pages import ArticlePage from weboob.browser.browsers import AbstractBrowser diff --git a/modules/taz/module.py b/modules/taz/module.py index 8703ff42a..8fd72544d 100644 --- a/modules/taz/module.py +++ b/modules/taz/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://www.taz.de" from weboob.capabilities.messages import CapMessages diff --git a/modules/taz/pages.py b/modules/taz/pages.py index 4e3b7cda1..37aa76323 100644 --- a/modules/taz/pages.py +++ b/modules/taz/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import AbstractPage from weboob.browser.filters.html import CSS, CleanHTML diff --git a/modules/taz/test.py b/modules/taz/test.py index de1b5cb74..15805fe61 100644 --- a/modules/taz/test.py +++ b/modules/taz/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Florent Fourcot # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/taz/tools.py b/modules/taz/tools.py index 946e74e52..ce7201bd1 100644 --- a/modules/taz/tools.py +++ b/modules/taz/tools.py @@ -2,20 +2,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2012 Florent Fourcot -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/tinder/__init__.py b/modules/tinder/__init__.py index 72999fcc0..153ea32a8 100644 --- a/modules/tinder/__init__.py +++ b/modules/tinder/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import TinderModule diff --git a/modules/tinder/browser.py b/modules/tinder/browser.py index be46406f0..960e1e03a 100644 --- a/modules/tinder/browser.py +++ b/modules/tinder/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/tinder/module.py b/modules/tinder/module.py index cde0fbd33..345504e85 100644 --- a/modules/tinder/module.py +++ b/modules/tinder/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/tinder/test.py b/modules/tinder/test.py index 9c36bfb4f..434cc9b23 100644 --- a/modules/tinder/test.py +++ b/modules/tinder/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/trainline/__init__.py b/modules/trainline/__init__.py index 3dd2b010a..e00980ed5 100644 --- a/modules/trainline/__init__.py +++ b/modules/trainline/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import TrainlineModule diff --git a/modules/trainline/browser.py b/modules/trainline/browser.py index 27956393a..083342a8e 100644 --- a/modules/trainline/browser.py +++ b/modules/trainline/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/trainline/module.py b/modules/trainline/module.py index e4027b89b..949c3688a 100644 --- a/modules/trainline/module.py +++ b/modules/trainline/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Document, SubscriptionNotFound, DocumentNotFound diff --git a/modules/trainline/test.py b/modules/trainline/test.py index f4b73395e..13e27e2e8 100644 --- a/modules/trainline/test.py +++ b/modules/trainline/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/transilien/__init__.py b/modules/transilien/__init__.py index 4bfdc8467..9bb25bdb1 100644 --- a/modules/transilien/__init__.py +++ b/modules/transilien/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Julien Hébert, Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import TransilienModule diff --git a/modules/transilien/browser.py b/modules/transilien/browser.py index 4a21b5efe..444730783 100644 --- a/modules/transilien/browser.py +++ b/modules/transilien/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Julien Hébert, Romain Bignon # Copyright(C) 2014 Benjamin Carton # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime from weboob.browser import PagesBrowser, URL diff --git a/modules/transilien/module.py b/modules/transilien/module.py index 771d66cbd..6ec1ccc88 100644 --- a/modules/transilien/module.py +++ b/modules/transilien/module.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Julien Hébert, Romain Bignon # Copyright(C) 2014 Benjamin Carton # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.travel import CapTravel from weboob.tools.backend import Module diff --git a/modules/transilien/pages.py b/modules/transilien/pages.py index 41402ca03..2ded719b8 100644 --- a/modules/transilien/pages.py +++ b/modules/transilien/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Julien Hébert, Romain Bignon # Copyright(C) 2014 Benjamin Carton # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/transilien/test.py b/modules/transilien/test.py index 4b2283dd0..13227937f 100644 --- a/modules/transilien/test.py +++ b/modules/transilien/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import datetime diff --git a/modules/tumblr/__init__.py b/modules/tumblr/__init__.py index 5f034a6a3..90ff0c6dd 100644 --- a/modules/tumblr/__init__.py +++ b/modules/tumblr/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/tumblr/browser.py b/modules/tumblr/browser.py index 5033beb51..3e04cd030 100644 --- a/modules/tumblr/browser.py +++ b/modules/tumblr/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/tumblr/module.py b/modules/tumblr/module.py index 18689c35b..fabaa84ee 100644 --- a/modules/tumblr/module.py +++ b/modules/tumblr/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/tumblr/test.py b/modules/tumblr/test.py index fdbe0e437..3e6fb9a6f 100644 --- a/modules/tumblr/test.py +++ b/modules/tumblr/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/tvsubtitles/__init__.py b/modules/tvsubtitles/__init__.py index 9df7d9959..83e5ff7c0 100644 --- a/modules/tvsubtitles/__init__.py +++ b/modules/tvsubtitles/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import TvsubtitlesModule diff --git a/modules/tvsubtitles/browser.py b/modules/tvsubtitles/browser.py index 98afe2b54..08a38d4ff 100644 --- a/modules/tvsubtitles/browser.py +++ b/modules/tvsubtitles/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/tvsubtitles/module.py b/modules/tvsubtitles/module.py index 54d900f42..c04184291 100644 --- a/modules/tvsubtitles/module.py +++ b/modules/tvsubtitles/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.subtitle import CapSubtitle, LanguageNotSupported from weboob.tools.backend import Module diff --git a/modules/tvsubtitles/pages.py b/modules/tvsubtitles/pages.py index e9bdb2120..4a37d1c7e 100644 --- a/modules/tvsubtitles/pages.py +++ b/modules/tvsubtitles/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/tvsubtitles/test.py b/modules/tvsubtitles/test.py index 1817e081c..9186f691c 100644 --- a/modules/tvsubtitles/test.py +++ b/modules/tvsubtitles/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/twitter/__init__.py b/modules/twitter/__init__.py index 5b67c3a53..294929c87 100644 --- a/modules/twitter/__init__.py +++ b/modules/twitter/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import TwitterModule diff --git a/modules/twitter/browser.py b/modules/twitter/browser.py index dff5e2dda..714385406 100644 --- a/modules/twitter/browser.py +++ b/modules/twitter/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import LoginBrowser, URL, need_login from weboob.exceptions import BrowserIncorrectPassword diff --git a/modules/twitter/module.py b/modules/twitter/module.py index 4cfb5ac61..a6ef0684e 100644 --- a/modules/twitter/module.py +++ b/modules/twitter/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime, timedelta from weboob.tools.value import Value, ValueBackendPassword diff --git a/modules/twitter/pages.py b/modules/twitter/pages.py index f08ab4699..a27b07a0b 100644 --- a/modules/twitter/pages.py +++ b/modules/twitter/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime from weboob.tools.date import DATE_TRANSLATE_FR diff --git a/modules/twitter/test.py b/modules/twitter/test.py index 4b6833001..4dce7d421 100644 --- a/modules/twitter/test.py +++ b/modules/twitter/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import itertools diff --git a/modules/vicsec/__init__.py b/modules/vicsec/__init__.py index 6e789a91e..07a1bd615 100644 --- a/modules/vicsec/__init__.py +++ b/modules/vicsec/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import VicSecModule diff --git a/modules/vicsec/browser.py b/modules/vicsec/browser.py index 31e366a8d..3e2a781ad 100644 --- a/modules/vicsec/browser.py +++ b/modules/vicsec/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/vicsec/module.py b/modules/vicsec/module.py index 859893cf1..1f24b2820 100644 --- a/modules/vicsec/module.py +++ b/modules/vicsec/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.shop import CapShop diff --git a/modules/vicsec/test.py b/modules/vicsec/test.py index ab5ca00c8..21fc25fbc 100644 --- a/modules/vicsec/test.py +++ b/modules/vicsec/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/vicseccard/__init__.py b/modules/vicseccard/__init__.py index 0a1c9a4dc..07fd0642d 100644 --- a/modules/vicseccard/__init__.py +++ b/modules/vicseccard/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import VicSecCardModule diff --git a/modules/vicseccard/browser.py b/modules/vicseccard/browser.py index 0361209b0..39eaf5444 100644 --- a/modules/vicseccard/browser.py +++ b/modules/vicseccard/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from datetime import datetime diff --git a/modules/vicseccard/module.py b/modules/vicseccard/module.py index e60e7bb0e..930a9b8af 100644 --- a/modules/vicseccard/module.py +++ b/modules/vicseccard/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank from weboob.tools.backend import BackendConfig, Module diff --git a/modules/vicseccard/test.py b/modules/vicseccard/test.py index 14cf85bca..6cc284907 100644 --- a/modules/vicseccard/test.py +++ b/modules/vicseccard/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from itertools import chain diff --git a/modules/vimeo/browser.py b/modules/vimeo/browser.py index 3fd2adc6f..223ad5711 100644 --- a/modules/vimeo/browser.py +++ b/modules/vimeo/browser.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Romain Bignon # Copyright(C) 2012 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64encode diff --git a/modules/vimeo/module.py b/modules/vimeo/module.py index de3072e9b..e2590a7bb 100644 --- a/modules/vimeo/module.py +++ b/modules/vimeo/module.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Romain Bignon # Copyright(C) 2012 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/vimeo/pages.py b/modules/vimeo/pages.py index fd3dfbb2e..e1e395ac2 100644 --- a/modules/vimeo/pages.py +++ b/modules/vimeo/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Romain Bignon # Copyright(C) 2012 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo from weboob.capabilities.image import Thumbnail diff --git a/modules/vimeo/test.py b/modules/vimeo/test.py index 0b86fd94b..0910c34b0 100644 --- a/modules/vimeo/test.py +++ b/modules/vimeo/test.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Romain Bignon # Copyright(C) 2012 François Revol # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo from weboob.tools.value import Value diff --git a/modules/vine/__init__.py b/modules/vine/__init__.py index 8ed412187..c20e444eb 100644 --- a/modules/vine/__init__.py +++ b/modules/vine/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import VineModule diff --git a/modules/vine/browser.py b/modules/vine/browser.py index 89147800c..aca87726f 100644 --- a/modules/vine/browser.py +++ b/modules/vine/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/vine/module.py b/modules/vine/module.py index e193c888a..f671550f0 100644 --- a/modules/vine/module.py +++ b/modules/vine/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module diff --git a/modules/vine/pages.py b/modules/vine/pages.py index 22f3e2676..0196e0cfc 100644 --- a/modules/vine/pages.py +++ b/modules/vine/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo diff --git a/modules/vine/test.py b/modules/vine/test.py index 5ff003f38..c481b6f97 100644 --- a/modules/vine/test.py +++ b/modules/vine/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2015 P4ncake # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/virginradio/__init__.py b/modules/virginradio/__init__.py index 94534fb3f..6c62cd7aa 100644 --- a/modules/virginradio/__init__.py +++ b/modules/virginradio/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Johann Broudin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import VirginRadioModule diff --git a/modules/virginradio/module.py b/modules/virginradio/module.py index 696b021c0..acf275343 100644 --- a/modules/virginradio/module.py +++ b/modules/virginradio/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Johann Broudin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.radio import CapRadio, Radio diff --git a/modules/virginradio/test.py b/modules/virginradio/test.py index 1eea9e06a..cbed93db5 100644 --- a/modules/virginradio/test.py +++ b/modules/virginradio/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Johann Broudin # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/vlille/__init__.py b/modules/vlille/__init__.py index 3d14f4a6a..3e88ebee9 100644 --- a/modules/vlille/__init__.py +++ b/modules/vlille/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import VlilleModule diff --git a/modules/vlille/browser.py b/modules/vlille/browser.py index e80c44878..8bc9fb7c6 100644 --- a/modules/vlille/browser.py +++ b/modules/vlille/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/vlille/module.py b/modules/vlille/module.py index d322f58e2..1fbb4dc5d 100644 --- a/modules/vlille/module.py +++ b/modules/vlille/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.tools.backend import Module diff --git a/modules/vlille/pages.py b/modules/vlille/pages.py index 0430a9371..35626659d 100644 --- a/modules/vlille/pages.py +++ b/modules/vlille/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from decimal import Decimal diff --git a/modules/vlille/test.py b/modules/vlille/test.py index d5df5be05..bc0bc1d71 100644 --- a/modules/vlille/test.py +++ b/modules/vlille/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2013 Bezleputh # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/weather/__init__.py b/modules/weather/__init__.py index ef36d1464..e91a38448 100644 --- a/modules/weather/__init__.py +++ b/modules/weather/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Arno Renevier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import WeatherModule diff --git a/modules/weather/browser.py b/modules/weather/browser.py index 036ec4f9e..9fbb6f17e 100644 --- a/modules/weather/browser.py +++ b/modules/weather/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Arno Renevier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/weather/module.py b/modules/weather/module.py index d34deee92..cdd34f082 100644 --- a/modules/weather/module.py +++ b/modules/weather/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Arno Renevier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.weather import CapWeather diff --git a/modules/weather/pages.py b/modules/weather/pages.py index 80de0f53d..e75db93e4 100644 --- a/modules/weather/pages.py +++ b/modules/weather/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Arno Renevier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals from dateutil.parser import parse as parse_date diff --git a/modules/weather/test.py b/modules/weather/test.py index e3af5a5c2..a13cde79f 100644 --- a/modules/weather/test.py +++ b/modules/weather/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Arno Renevier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/wellsfargo/__init__.py b/modules/wellsfargo/__init__.py index 5e8252388..fe7994691 100644 --- a/modules/wellsfargo/__init__.py +++ b/modules/wellsfargo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import WellsFargoModule diff --git a/modules/wellsfargo/browser.py b/modules/wellsfargo/browser.py index 0d31e511d..15c75f7e2 100644 --- a/modules/wellsfargo/browser.py +++ b/modules/wellsfargo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import json diff --git a/modules/wellsfargo/module.py b/modules/wellsfargo/module.py index bb7028681..4b88142d6 100644 --- a/modules/wellsfargo/module.py +++ b/modules/wellsfargo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import CapBank diff --git a/modules/wellsfargo/pages.py b/modules/wellsfargo/pages.py index 02884c534..f5a11dbcb 100644 --- a/modules/wellsfargo/pages.py +++ b/modules/wellsfargo/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import Cookie import datetime diff --git a/modules/wellsfargo/parsers.py b/modules/wellsfargo/parsers.py index ad229caf3..2db1fb68d 100644 --- a/modules/wellsfargo/parsers.py +++ b/modules/wellsfargo/parsers.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.bank import Transaction from weboob.tools.capabilities.bank.transactions import \ diff --git a/modules/wellsfargo/test.py b/modules/wellsfargo/test.py index e2bbd1619..3edcf978c 100644 --- a/modules/wellsfargo/test.py +++ b/modules/wellsfargo/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2014 Oleg Plakhotniuk # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from itertools import chain diff --git a/modules/wordreference/__init__.py b/modules/wordreference/__init__.py index 6753e810c..0e4cf7f20 100644 --- a/modules/wordreference/__init__.py +++ b/modules/wordreference/__init__.py @@ -3,20 +3,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import WordReferenceModule diff --git a/modules/wordreference/browser.py b/modules/wordreference/browser.py index 06afed721..c87e19889 100644 --- a/modules/wordreference/browser.py +++ b/modules/wordreference/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/wordreference/module.py b/modules/wordreference/module.py index deaa1e1b3..05a483478 100644 --- a/modules/wordreference/module.py +++ b/modules/wordreference/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . "backend for http://www.wordreference.com" diff --git a/modules/wordreference/pages.py b/modules/wordreference/pages.py index fdde6d918..c32df5a6e 100644 --- a/modules/wordreference/pages.py +++ b/modules/wordreference/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage from weboob.browser.elements import ItemElement, ListElement, method diff --git a/modules/wordreference/test.py b/modules/wordreference/test.py index d485f1afe..e18314975 100644 --- a/modules/wordreference/test.py +++ b/modules/wordreference/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2012 Lucien Loiseau # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/xhamster/__init__.py b/modules/xhamster/__init__.py index 7db6ff54b..816e9c2db 100644 --- a/modules/xhamster/__init__.py +++ b/modules/xhamster/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/xhamster/browser.py b/modules/xhamster/browser.py index 1e1c731ed..cec9a09a4 100644 --- a/modules/xhamster/browser.py +++ b/modules/xhamster/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/xhamster/module.py b/modules/xhamster/module.py index 96a197cdb..0efcc9138 100644 --- a/modules/xhamster/module.py +++ b/modules/xhamster/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/xhamster/pages.py b/modules/xhamster/pages.py index 72008890d..11aefc19e 100644 --- a/modules/xhamster/pages.py +++ b/modules/xhamster/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/xhamster/test.py b/modules/xhamster/test.py index 82f4685aa..d8878b3e6 100644 --- a/modules/xhamster/test.py +++ b/modules/xhamster/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2017 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from __future__ import unicode_literals diff --git a/modules/yahoo/__init__.py b/modules/yahoo/__init__.py index ca3bf13fb..d38bcbdc3 100644 --- a/modules/yahoo/__init__.py +++ b/modules/yahoo/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import YahooModule diff --git a/modules/yahoo/browser.py b/modules/yahoo/browser.py index f0fd69aab..d986c22cb 100644 --- a/modules/yahoo/browser.py +++ b/modules/yahoo/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Cedric Defortis # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from .pages import YahooPage diff --git a/modules/yahoo/module.py b/modules/yahoo/module.py index 9a4afde75..91951ecd4 100644 --- a/modules/yahoo/module.py +++ b/modules/yahoo/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from collections import OrderedDict diff --git a/modules/yahoo/pages.py b/modules/yahoo/pages.py index 10292b2e0..45b3a0e4d 100644 --- a/modules/yahoo/pages.py +++ b/modules/yahoo/pages.py @@ -3,20 +3,20 @@ # Copyright(C) 2010-2011 Cedric Defortis # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import JsonPage from weboob.browser.elements import ItemElement, DictElement, method diff --git a/modules/yahoo/test.py b/modules/yahoo/test.py index 28e4699b5..1a2fad469 100644 --- a/modules/yahoo/test.py +++ b/modules/yahoo/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/yggtorrent/browser.py b/modules/yggtorrent/browser.py index 74d7dde79..5caed15d6 100644 --- a/modules/yggtorrent/browser.py +++ b/modules/yggtorrent/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.exceptions import BrowserHTTPNotFound diff --git a/modules/yggtorrent/module.py b/modules/yggtorrent/module.py index 6a8b2fbef..8763ce206 100644 --- a/modules/yggtorrent/module.py +++ b/modules/yggtorrent/module.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright(C) 2018 Julien Veyssier -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.torrent import CapTorrent, Torrent from weboob.tools.backend import Module, BackendConfig diff --git a/modules/yggtorrent/pages/index.py b/modules/yggtorrent/pages/index.py index 0425528f2..9bba6881b 100644 --- a/modules/yggtorrent/pages/index.py +++ b/modules/yggtorrent/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, RawPage diff --git a/modules/yggtorrent/pages/torrents.py b/modules/yggtorrent/pages/torrents.py index b2aad625e..a60e0bbdc 100644 --- a/modules/yggtorrent/pages/torrents.py +++ b/modules/yggtorrent/pages/torrents.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from weboob.tools.misc import get_bytes_size diff --git a/modules/yggtorrent/test.py b/modules/yggtorrent/test.py index 531ddd81f..055dcd524 100644 --- a/modules/yggtorrent/test.py +++ b/modules/yggtorrent/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2018 Julien Veyssier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest from weboob.capabilities.base import NotLoaded diff --git a/modules/yomoni/__init__.py b/modules/yomoni/__init__.py index 0c29d02e5..472778bd1 100644 --- a/modules/yomoni/__init__.py +++ b/modules/yomoni/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import YomoniModule diff --git a/modules/yomoni/browser.py b/modules/yomoni/browser.py index b405e840e..4b5e78f8d 100644 --- a/modules/yomoni/browser.py +++ b/modules/yomoni/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64encode from functools import wraps diff --git a/modules/yomoni/module.py b/modules/yomoni/module.py index fca8f17a8..9598d29ea 100644 --- a/modules/yomoni/module.py +++ b/modules/yomoni/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Edouard Lambert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/youjizz/__init__.py b/modules/youjizz/__init__.py index 74526fd86..40be4b71b 100644 --- a/modules/youjizz/__init__.py +++ b/modules/youjizz/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import YoujizzModule diff --git a/modules/youjizz/browser.py b/modules/youjizz/browser.py index 20227a493..2aebefd6b 100644 --- a/modules/youjizz/browser.py +++ b/modules/youjizz/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/youjizz/module.py b/modules/youjizz/module.py index 7a3ddb228..0c0630fc2 100644 --- a/modules/youjizz/module.py +++ b/modules/youjizz/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import CapVideo, BaseVideo diff --git a/modules/youjizz/pages/index.py b/modules/youjizz/pages/index.py index fa745cb51..0a38977ae 100644 --- a/modules/youjizz/pages/index.py +++ b/modules/youjizz/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser.pages import HTMLPage, pagination diff --git a/modules/youjizz/pages/video.py b/modules/youjizz/pages/video.py index 15f1e8f81..3555a6df6 100644 --- a/modules/youjizz/pages/video.py +++ b/modules/youjizz/pages/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/youjizz/test.py b/modules/youjizz/test.py index 1975689b3..156808b34 100644 --- a/modules/youjizz/test.py +++ b/modules/youjizz/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2014 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.misc import limit diff --git a/modules/youporn/browser.py b/modules/youporn/browser.py index a0fe4acd8..be3361355 100644 --- a/modules/youporn/browser.py +++ b/modules/youporn/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL diff --git a/modules/youporn/module.py b/modules/youporn/module.py index 13f2061f3..88d93a5e7 100644 --- a/modules/youporn/module.py +++ b/modules/youporn/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import CapVideo, BaseVideo diff --git a/modules/youporn/pages/index.py b/modules/youporn/pages/index.py index a63104532..1672ccd5d 100644 --- a/modules/youporn/pages/index.py +++ b/modules/youporn/pages/index.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . diff --git a/modules/youporn/pages/video.py b/modules/youporn/pages/video.py index 10df17678..9654e42ce 100644 --- a/modules/youporn/pages/video.py +++ b/modules/youporn/pages/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2012 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re from json import loads diff --git a/modules/youporn/test.py b/modules/youporn/test.py index 4396c237b..fc26e6b79 100644 --- a/modules/youporn/test.py +++ b/modules/youporn/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Romain Bignon # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/youporn/video.py b/modules/youporn/video.py index f53e097e2..b131bd3a2 100644 --- a/modules/youporn/video.py +++ b/modules/youporn/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Roger Philibert # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo diff --git a/modules/youtube/__init__.py b/modules/youtube/__init__.py index f0bf2f9a5..1f52b9c66 100644 --- a/modules/youtube/__init__.py +++ b/modules/youtube/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import YoutubeModule diff --git a/modules/youtube/module.py b/modules/youtube/module.py index c93a56a69..5adbe0b69 100644 --- a/modules/youtube/module.py +++ b/modules/youtube/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Christophe Benz, Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . import re diff --git a/modules/youtube/test.py b/modules/youtube/test.py index db122c545..0a8bc6c1d 100644 --- a/modules/youtube/test.py +++ b/modules/youtube/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2013 Romain Bignon, Laurent Bachelier # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest diff --git a/modules/youtube/video.py b/modules/youtube/video.py index 368788709..93fcf9029 100644 --- a/modules/youtube/video.py +++ b/modules/youtube/video.py @@ -2,20 +2,20 @@ # Copyright(C) 2010-2011 Christophe Benz # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.capabilities.video import BaseVideo diff --git a/modules/zerobin/__init__.py b/modules/zerobin/__init__.py index 98c4f80eb..a98fb0fd6 100644 --- a/modules/zerobin/__init__.py +++ b/modules/zerobin/__init__.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from .module import ZerobinModule diff --git a/modules/zerobin/browser.py b/modules/zerobin/browser.py index 101dc2888..c58d9bb0f 100644 --- a/modules/zerobin/browser.py +++ b/modules/zerobin/browser.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.browser import PagesBrowser, URL from weboob.browser.exceptions import HTTPNotFound diff --git a/modules/zerobin/crypto.py b/modules/zerobin/crypto.py index 9f58275f5..9292af46b 100644 --- a/modules/zerobin/crypto.py +++ b/modules/zerobin/crypto.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode, b64encode from collections import OrderedDict diff --git a/modules/zerobin/module.py b/modules/zerobin/module.py index db3f2fb62..909150480 100644 --- a/modules/zerobin/module.py +++ b/modules/zerobin/module.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.backend import Module, BackendConfig diff --git a/modules/zerobin/pages.py b/modules/zerobin/pages.py index 1e3527419..d7626bfd0 100644 --- a/modules/zerobin/pages.py +++ b/modules/zerobin/pages.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from base64 import b64decode, b64encode from datetime import datetime diff --git a/modules/zerobin/test.py b/modules/zerobin/test.py index 0dce47041..d07371b76 100644 --- a/modules/zerobin/test.py +++ b/modules/zerobin/test.py @@ -2,20 +2,20 @@ # Copyright(C) 2016 Vincent A # -# This file is part of weboob. +# This file is part of a weboob module. # -# weboob is free software: you can redistribute it and/or modify +# This weboob module is free software: you can redistribute it and/or modify # 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. # -# weboob is distributed in the hope that it will be useful, +# This weboob module is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with weboob. If not, see . +# along with this weboob module. If not, see . from weboob.tools.test import BackendTest -- GitLab