pax_global_header 0000666 0000000 0000000 00000000064 13514067645 0014525 g ustar 00root root 0000000 0000000 52 comment=d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9
woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-popolemploi/ 0000775 0000000 0000000 00000000000 13514067645 0023644 5 ustar 00root root 0000000 0000000 woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-popolemploi/modules/ 0000775 0000000 0000000 00000000000 13514067645 0025314 5 ustar 00root root 0000000 0000000 woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-popolemploi/modules/popolemploi/ 0000775 0000000 0000000 00000000000 13514067645 0027653 5 ustar 00root root 0000000 0000000 woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-popolemploi/modules/popolemploi/__init__.py 0000664 0000000 0000000 00000001521 13514067645 0031763 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 PopolemploiModule
__all__ = ['PopolemploiModule']
woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-popolemploi/modules/popolemploi/browser.py 0000664 0000000 0000000 00000004246 13514067645 0031716 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 .pages import SearchPage, AdvertPage
from weboob.browser import PagesBrowser, URL
from weboob.tools.compat import urlencode
__all__ = ['PopolemploiBrowser']
class PopolemploiBrowser(PagesBrowser):
BASEURL = 'https://candidat.pole-emploi.fr'
advert = URL('/offres/recherche/detail/(?P.*)', AdvertPage)
search = URL('/offres/recherche\?(?P.*?)',
'/offres/recherche\?motsCles=(?P.*?)', SearchPage)
def search_job(self, pattern=None):
return self.search.go(pattern=pattern).iter_job_adverts()
def decode_place(self, splitted_place):
return splitted_place[2] + splitted_place[1][0]
def advanced_search_job(self, metier='', place=None, contrat=None, salary=None,
qualification=None, limit_date=None, domain=None):
data = {}
data['lieux'] = self.decode_place(place.split('|'))
data['offresPartenaires'] = True
data['rayon'] = 10
data['tri'] = 0
data['typeContrat'] = contrat
data['qualification'] = qualification
data['salaireMin'] = salary
data['uniteSalaire'] = 'A'
data['emission'] = limit_date
data['domaine'] = domain
data['motsCles'] = metier
return self.search.go(param=urlencode(data)).iter_job_adverts()
def get_job_advert(self, id, advert):
return self.advert.go(id=id).get_job_advert(obj=advert)
woob-d55ee1b5fb5ebdd456ab724438e5913e5a54d0c9-modules-popolemploi/modules/popolemploi/favicon.png 0000664 0000000 0000000 00000012576 13514067645 0032021 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq bKGD pHYs Ǡ tIME$kX IDATxyxUչ?k}>sNNf$H2(R^ŁrkQ?^jQk-`2 99>b˽?/Yϳd'{~}DC|@?~ W+j#24*0>.Fc Ci˩8Z)ஓ<\Iawg{8@QMw1/g(fn:@T aT`7 GN:Og")<gKRC( ,i+Jex(gBaWD߷SvA[rE|? i3N=)%*m XsN[ōH?b`Z=5'2:=
NvšT-AZ?+"di}jit+AMq%Lh&=X`Mcd7 G!7 `q-64lt
$$R.$;"jI0ɸqkkO+zRp"nJ0cf=1d$Ldhط]MZJskbc#N,?ƛ;P q[p8q
"XbÃ>4+C%HOIzI)EAqO|#VgsK&;KU՚$DqP?& e2/zC@@iЦEg6Z.YL?Xix5'Ϗ#N3ayȃf~M@5H*PHX_V$Y$Jf@YNir!YF<@@rq g|vL"B5ew^܆6p"ҡ0А(
QT)7~l,]Rg6ySc-Kl!v ν; _1Xi (M)t/X^?A0S~4ۋpy8J'jgp}$z.g+fǧXLFRswT z&
Lb}E <3'?衑X.K'X7|sE