pax_global_header 0000666 0000000 0000000 00000000064 13514067645 0014525 g ustar 00root root 0000000 0000000 52 comment=6d52c0c92f2617476fe0b131c1eebba68676b2fb
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-colisprive/ 0000775 0000000 0000000 00000000000 13514067645 0023372 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-colisprive/modules/ 0000775 0000000 0000000 00000000000 13514067645 0025042 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-colisprive/modules/colisprive/ 0000775 0000000 0000000 00000000000 13514067645 0027221 5 ustar 00root root 0000000 0000000 woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-colisprive/modules/colisprive/__init__.py 0000664 0000000 0000000 00000001521 13514067645 0031331 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2014 Florent Fourcot
#
# 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 ColispriveModule
__all__ = ['ColispriveModule']
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-colisprive/modules/colisprive/browser.py 0000664 0000000 0000000 00000002227 13514067645 0031261 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2014 Florent Fourcot
#
# 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 TrackPage, ErrorPage
class ColispriveBrowser(PagesBrowser):
track_page = URL('https://www.colisprive.com/moncolis/pages/detailColis.aspx\?numColis=(?P.+)', TrackPage)
error_page = URL('https://www.colisprive.fr', ErrorPage)
def get_tracking_info(self, _id):
return self.track_page.go(id=_id).get_info(_id)
woob-6d52c0c92f2617476fe0b131c1eebba68676b2fb-modules-colisprive/modules/colisprive/favicon.png 0000664 0000000 0000000 00000007020 13514067645 0031353 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq pHYs tIME0y iTXtComment Created with GIMPd.e bKGD g ! }j1t
tIDATx[r^ ")Jg3'}vm>wghFE7 ]WPh@f$э|2+k?|,IFNAJReɓ q]wq%㨐QZMe'Q=G
6Ig