pax_global_header 0000666 0000000 0000000 00000000064 13435444765 0014531 g ustar 00root root 0000000 0000000 52 comment=139760e841ad4875b59fe11e052af1bb56dc06ea
woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-linuxjobs/ 0000775 0000000 0000000 00000000000 13435444765 0023155 5 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-linuxjobs/modules/ 0000775 0000000 0000000 00000000000 13435444765 0024625 5 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-linuxjobs/modules/linuxjobs/ 0000775 0000000 0000000 00000000000 13435444765 0026642 5 ustar 00root root 0000000 0000000 woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-linuxjobs/modules/linuxjobs/__init__.py 0000664 0000000 0000000 00000001523 13435444765 0030754 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2016 François Revol
#
# 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 LinuxJobsModule
__all__ = ['LinuxJobsModule']
woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-linuxjobs/modules/linuxjobs/browser.py 0000664 0000000 0000000 00000002767 13435444765 0030713 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2016 François Revol
#
# 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.tools.compat import quote_plus
from .pages import SearchPage, AdvertPage
class LinuxJobsBrowser(PagesBrowser):
BASEURL = 'https://www.linuxjobs.fr'
advert_page = URL('/jobs/(?P.+)', AdvertPage)
search_page = URL('/search/(?P)', SearchPage)
def get_job_advert(self, _id, advert):
self.advert_page.go(id=_id)
assert self.advert_page.is_here()
return self.page.get_job_advert(obj=advert)
def search_job(self, pattern=None):
if pattern is None:
return []
self.search_page.go(job=quote_plus(pattern.encode('utf-8')))
assert self.search_page.is_here()
return self.page.iter_job_adverts()
woob-139760e841ad4875b59fe11e052af1bb56dc06ea-modules-linuxjobs/modules/linuxjobs/favicon.png 0000664 0000000 0000000 00000004525 13435444765 0031003 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq bKGD pHYs tIME%k iTXtComment Created with GIMPd.e IDATxZ[HTtstƻ'!,K:dh%ǡ$J`RDA>K/Yjڅ5*$
m@Tn~C;]|}k$Y*`NY(۷/_l29rR}X8rСCTT`:p GGG * L:p`6&Y|DD aaA~0::"̛7o*xb< 9S7L
}^F9dP2דǩ ߿gnnd<~@27WI8Ç ..r Ie#'TLafffJhXPP Txbܾ}>>>$$$SQF000Tu: L:iS&)hdoo@]F%k +S)9m.]DV+)͛988(j`fRsZtttpڵΝ;r ɵk)ח9-N:EF#)9<<,plRBǦ%@ss3ccc%G[ZXe pNg1t
L&<