pax_global_header 0000666 0000000 0000000 00000000064 13436457030 0014517 g ustar 00root root 0000000 0000000 52 comment=3863a14eedf17551743a8bbccf0237874d7f4a16
woob-3863a14eedf17551743a8bbccf0237874d7f4a16-modules-indeed/ 0000775 0000000 0000000 00000000000 13436457030 0022306 5 ustar 00root root 0000000 0000000 woob-3863a14eedf17551743a8bbccf0237874d7f4a16-modules-indeed/modules/ 0000775 0000000 0000000 00000000000 13436457030 0023756 5 ustar 00root root 0000000 0000000 woob-3863a14eedf17551743a8bbccf0237874d7f4a16-modules-indeed/modules/indeed/ 0000775 0000000 0000000 00000000000 13436457030 0025206 5 ustar 00root root 0000000 0000000 woob-3863a14eedf17551743a8bbccf0237874d7f4a16-modules-indeed/modules/indeed/__init__.py 0000664 0000000 0000000 00000001507 13436457030 0027322 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 IndeedModule
__all__ = ['IndeedModule']
woob-3863a14eedf17551743a8bbccf0237874d7f4a16-modules-indeed/modules/indeed/browser.py 0000664 0000000 0000000 00000003552 13436457030 0027250 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 .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-3863a14eedf17551743a8bbccf0237874d7f4a16-modules-indeed/modules/indeed/favicon.png 0000664 0000000 0000000 00000007204 13436457030 0027344 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq bKGD pHYs + tIME
5Qi IDATx[k\U9gfz/B(-jx(
4%H B0
FUc|$5H(E V0V(ҒҴxP^ޙ9>{"ā9ko< Dn>R|('Rރ B$ Vא6՟}vQE=r,e
n DU]^,ˈ).?t7֣,9k~w/ݬzlnJjѦ[ɦnҹiji_Up;}:1Hfũ#(1۔UEB}T]<&~#i_}2ijĕE4Cm5mlsZ +1j qջd9T@8UW'HW"t,7M#Xx96OL4z]`Ec,9&ƙ'uE@5PKR+Ő l-|`"f
kXfn@M% .=$M6RJUVUNn5})͊ ?co"\`~+!4xf1/$zM#hNc%d"k?/;s;m/qSb!1>S{0Ĕ6:@"AKaXWL`R:0?0$dfO@!oF$X?#8eqK"s n\6ŇFo4{%yfO4I9"% D'W9]I=|xQP;"zsWFib}