pax_global_header 0000666 0000000 0000000 00000000064 13514067645 0014525 g ustar 00root root 0000000 0000000 52 comment=6d52c0c92f2617476fe0b131c1eebba68676b2fb
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-cuisineaz/ 0000775 0000000 0000000 00000000000 13514067645 0023205 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-cuisineaz/modules/ 0000775 0000000 0000000 00000000000 13514067645 0024655 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-cuisineaz/modules/cuisineaz/ 0000775 0000000 0000000 00000000000 13514067645 0026647 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-cuisineaz/modules/cuisineaz/__init__.py 0000664 0000000 0000000 00000001514 13514067645 0030761 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 .module import CuisineazModule
__all__ = ['CuisineazModule']
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-cuisineaz/modules/cuisineaz/browser.py 0000664 0000000 0000000 00000002664 13514067645 0030714 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__ = ['CuisineazBrowser']
class CuisineazBrowser(PagesBrowser):
BASEURL = 'https://www.cuisineaz.com'
TIMEOUT = 20
search = URL('recettes/recherche_v2.aspx\?recherche=(?P.*)', ResultsPage)
recipe = URL('recettes/(?P<_id>.*).aspx', RecipePage)
def iter_recipes(self, pattern):
return self.search.go(pattern=pattern.replace(' ', '-')).iter_recipes()
def get_recipe(self, _id, obj=None):
return self.recipe.go(_id=_id).get_recipe(obj=obj)
def get_comments(self, _id):
return self.recipe.stay_or_go(_id=_id).get_comments()
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-cuisineaz/modules/cuisineaz/favicon.png 0000664 0000000 0000000 00000002530 13514067645 0031002 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq sRGB bKGD pHYs tIME95o IDATxo[učKmRGnڦ"!I[)/F @`,`9ivX"h*h eA$G$nl'H=%k;Y%iK X4sɀjCWFF{2F(z/h5bdO=SVQ+ufEY Vs
^n'Xqz9fwR"P b 15%wc]ZkV!S