pax_global_header 0000666 0000000 0000000 00000000064 14575653726 0014536 g ustar 00root root 0000000 0000000 52 comment=5f3d558793b537a74480241ac6981479f5938cd3
woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-chronopost/ 0000775 0000000 0000000 00000000000 14575653726 0024240 5 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-chronopost/modules/ 0000775 0000000 0000000 00000000000 14575653726 0025710 5 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-chronopost/modules/chronopost/ 0000775 0000000 0000000 00000000000 14575653726 0030106 5 ustar 00root root 0000000 0000000 __init__.py 0000664 0000000 0000000 00000001507 14575653726 0032143 0 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-chronopost/modules/chronopost # -*- coding: utf-8 -*-
# Copyright(C) 2013 Romain Bignon
#
# 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 ChronopostModule
__all__ = ['ChronopostModule']
browser.py 0000664 0000000 0000000 00000002363 14575653726 0032070 0 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-chronopost/modules/chronopost # -*- coding: utf-8 -*-
# Copyright(C) 2013 Romain Bignon
#
# 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 TrackPage
__all__ = ['ChronopostBrowser']
class ChronopostBrowser(PagesBrowser):
BASEURL = 'https://www.chronopost.fr'
track = URL(r'/tracking-no-cms/suivi-colis\?listeNumerosLT=(?P\w+)&langue=fr', TrackPage)
def get_tracking_info(self, _id):
self.track.go(id=_id, headers={'Referer': 'https://www.chronopost.fr/tracking-no-cms/suivi-page?listeNumerosLT=%s' % id})
return self.page.get_parcel()
favicon.png 0000664 0000000 0000000 00000004070 14575653726 0032163 0 ustar 00root root 0000000 0000000 woob-master-5f3d558793b537a74480241ac6981479f5938cd3-modules-chronopost/modules/chronopost PNG
IHDR @ @ iq IDATxY lUE}
@X0=т@"AVAYھ,"KK4D
uA bQ- 1Ģ@-@~K+nr2ܹwΝfkK.K.K.R5S^F2i@
#U@0^dN|p&SR׀"HgB^dAVmQʄ7':`={#V"cɬ7R .?Z 7ݩJ߁y|(A`Wj ~
"
k4)m,
P#v.`; BӞlO+g9&PdQPQnYlf;4 3
|2 oҶBD`:if|?>fXV4etQVܕ`:`.3M}n9}3ߩrI*kg0n`h
]Y߉L{r ۃ9QΨ`s$Mq0X^x3I\)0钽,`$gW43_GRF"f:_cJNYm]=Cqs MdGUtk(xiNYg)T 9_:wet鈡p+~o Zj,/JrKy%^;lϓ1Xn3̰t`Bt!`g/9dnv%NV>u1bӁ U vJteĠ^DgO#XMxe::#SeØ}K>?$pvB
pX{x=lx)}>o%.BA<{LgatI:03*!*#0>U))>Ra=4DOqt)Vtf0Z]b_Wѳ2ox"?0%WNQm/4qjst(nЁ_ 'Q=?H"YGpHjL}#h$?LfEEJ\3{搰zbEsJmXQa5癍4JK@)R3LI}jm$
h@a֧>uX
]!LX@fDn6/zZ?tǔ0̖Үn6y=Y 4^J!21sHcd`XG˨t^()/V:0 (g:ʮ?O}NM"I-!x17I:-F?̃l,(棈Hwyi$FV:ߟjׄltk~I-Ӟ+ZOAD
1о(k{y4}#aCPZBz&U4̭Io(,;hQTt*+;!1K>ԯ6vHO~m%\p
S*@C
k[ I(3̃Pԙi4F
h]BސQo cȥdI