pax_global_header 0000666 0000000 0000000 00000000064 13514067645 0014525 g ustar 00root root 0000000 0000000 52 comment=d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9
woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-cci/ 0000775 0000000 0000000 00000000000 13514067645 0022043 5 ustar 00root root 0000000 0000000 woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-cci/modules/ 0000775 0000000 0000000 00000000000 13514067645 0023513 5 ustar 00root root 0000000 0000000 woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-cci/modules/cci/ 0000775 0000000 0000000 00000000000 13514067645 0024251 5 ustar 00root root 0000000 0000000 woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-cci/modules/cci/__init__.py 0000664 0000000 0000000 00000001501 13514067645 0026357 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Bezleputh
#
# 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 CciModule
__all__ = ['CciModule']
woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-cci/modules/cci/browser.py 0000664 0000000 0000000 00000002522 13514067645 0026307 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Bezleputh
#
# 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 weboob.capabilities.job import BaseJobAdvert
from .pages import SearchPage
__all__ = ['CciBrowser']
class CciBrowser(PagesBrowser):
BASEURL = 'http://www.cci.fr'
search_page = URL('/web/recrutement/les-offres-d-emploi', SearchPage)
def search_job(self, pattern):
return self.search_page.go().iter_job_adverts(pattern=pattern)
def get_job_advert(self, _id, advert):
if advert is None:
advert = BaseJobAdvert(_id)
return self.search_page.stay_or_go().get_job_advert(obj=advert)
woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-cci/modules/cci/favicon.png 0000664 0000000 0000000 00000040312 13514067645 0026404 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq pHYs cHRM z% u0 ` : o_F @PIDATx @@
0# "9
>
S;+( ?- 褻 o 1 # $ &TN 5 >2%k
ee 8>9(F
X
\m&