pax_global_header 0000666 0000000 0000000 00000000064 13435444765 0014531 g ustar 00root root 0000000 0000000 52 comment=139760e841ad4875b59fe11e052af1bb56dc06ea
woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-supertoinette/ 0000775 0000000 0000000 00000000000 13435444765 0024052 5 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-supertoinette/modules/ 0000775 0000000 0000000 00000000000 13435444765 0025522 5 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-supertoinette/modules/supertoinette/ 0000775 0000000 0000000 00000000000 13435444765 0030434 5 ustar 00root root 0000000 0000000 __init__.py 0000664 0000000 0000000 00000001524 13435444765 0032470 0 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-supertoinette/modules/supertoinette # -*- coding: utf-8 -*-
# Copyright(C) 2013 Julien Veyssier
#
# 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 .module import SupertoinetteModule
__all__ = ['SupertoinetteModule']
woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-supertoinette/modules/supertoinette/browser.py0000664 0000000 0000000 00000002424 13435444765 0032473 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Julien Veyssier
#
# 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 weboob.browser import PagesBrowser, URL
from .pages import RecipePage, ResultsPage
__all__ = ['SupertoinetteBrowser']
class SupertoinetteBrowser(PagesBrowser):
BASEURL = 'https://www.supertoinette.com'
search = URL('/liste-recettes/(?P.*)', ResultsPage)
recipe = URL('/recette/(?P<_id>.*).html', RecipePage)
def iter_recipes(self, pattern):
return self.search.go(pattern=pattern).iter_recipes()
def get_recipe(self, id):
return self.recipe.go(_id=id).get_recipe()
favicon.png 0000664 0000000 0000000 00000012003 13435444765 0032504 0 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-supertoinette/modules/supertoinette PNG
IHDR @ @ iq sRGB bKGD pHYs tIMEg
tEXtComment Created with GIMPW ^IDATx[ixUչ~װs2Y@@EW"VrCkUʃWz:PSm
R[#"EP @3ى/zY}a dpn ?S, VfgguݑﻕKbDľW[[ *%{~|ɧ=xO\'X]SXX8ZJ=۱cdž?
뮻8sL$ `IҰQҥK8SO=n+V%K/o$[IEJJg̝; Hӈ}^|fĉܰa[3iҤ)L27jk-ZID3g/eI,PM!`SO=o0˖-c,;Xyyy9y8y衇_N" e˖Ʊ &L