pax_global_header 0000666 0000000 0000000 00000000064 14575653726 0014536 g ustar 00root root 0000000 0000000 52 comment=5f3d558793b537a74480241ac6981479f5938cd3
woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-indeed/ 0000775 0000000 0000000 00000000000 14575653726 0023272 5 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-indeed/modules/ 0000775 0000000 0000000 00000000000 14575653726 0024742 5 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-indeed/modules/indeed/ 0000775 0000000 0000000 00000000000 14575653726 0026172 5 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-indeed/modules/indeed/__init__.py 0000664 0000000 0000000 00000001477 14575653726 0030314 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Bezleputh
#
# This file is part of a woob module.
#
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 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 woob module. If not, see .
from .module import IndeedModule
__all__ = ['IndeedModule']
woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-indeed/modules/indeed/browser.py 0000664 0000000 0000000 00000003540 14575653726 0030231 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Bezleputh
#
# This file is part of a woob module.
#
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 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 woob module. If not, see .
from woob.browser import PagesBrowser, URL
from .pages import SearchPage, AdvertPage
__all__ = ['IndeedBrowser']
class IndeedBrowser(PagesBrowser):
BASEURL = 'https://www.indeed.fr'
search_page = URL('/emplois(?P.*)',
SearchPage)
advert_page = URL('/cmp/(?P.*)/jobs/(?P.*)-(?P.*)', AdvertPage)
def search_job(self, metier='', contrat='', limit_date='', radius='', place=''):
params = '?q=%s&limit=10&sort=date&st=employer&sr=directhire&jt=%s&fromage=%s&radius=%s'\
% (metier.replace(' ', '+'), contrat, limit_date, radius)
if place:
params = '%s&l=%s' % (params, place)
self.search_page.go(parameters=params)
assert self.search_page.is_here(parameters=params)
return self.page.iter_job_adverts()
def get_job_advert(self, _id, advert):
splitted_id = _id.split('#')
return self.advert_page.go(nb=splitted_id[0],
title=splitted_id[1],
company=splitted_id[2]).get_job_advert(obj=advert)
woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-indeed/modules/indeed/favicon.png 0000664 0000000 0000000 00000017522 14575653726 0030334 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq zTXtRaw profile type exif xڭYr$D^Bp I,YȬP{;ʭ)쒔5IAW:?Ͽ\}!p*;k~_#BzA7mEf8@}?{YWZ>{VRog?<7
ћ{b+x3pO ڷwf'ıpqt}}G}r(wy/ߝ9'r^{^Zʄ4?z-qc'<*||)_WkxXO~_)Bw\%hr'%j ?+/;g0oTpׁ6{wW02
C~r 3\# se]-Q<@Gn~߹| D[ pegıOcb
H23`ϽA}9*!l
DI"HcNYr%K*Rr)-ƚ\Kjm4"YVUm6Fn<ݸzKϽڵ}F2(0D'fe֩-JKV^eեmN[veQGͿP)QR^Cx1@,$0O)8048b ?}ͥ^93O~AmZWt!KCI]F$3UL.1`=}ȍ]vyB~u<~\D sőy M͗xϣ2MUK}ƌZ1CG ڜ'%x60p=Xnqkwב㬻͢3sUX}d
(s,,}42KsWf`hR}LzjQ@ЙK>)r^y9RM}_3K6Ҍ<[)v_29gʍDueJYb
weKP y{;rⰘ(= h+aN ӉS{D`MLe\DUT Đ
,qKn}|F1C++z E+9D`'khvbfmF2cؗ=֚jO01x˂ad*o}6j*^)Z0Ő'_X_f
NOh
g@lUW'&CbjX3)ÝFNgկIP9v(ƽ
%$E6=*6P] NAER YV`\Ryn/7.W5a2bmC[Oyzg|
Zvp9^L<¸ܮ8c5sP],@sJS]/XKd5vL2Ќlj3|ÁNԛ;kG=OeG] !-Tl ^(hgfDBՆZ DObP2'QXxhv6q˭EnOJEn A2[u@$:~+E*NջwYmV瘘