pax_global_header 0000666 0000000 0000000 00000000064 14042356110 0014506 g ustar 00root root 0000000 0000000 52 comment=18d41565f955028f9fcd2f6cc437f5f1cb717401
woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-dhl/ 0000775 0000000 0000000 00000000000 14042356110 0021546 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-dhl/modules/ 0000775 0000000 0000000 00000000000 14042356110 0023216 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-dhl/modules/dhl/ 0000775 0000000 0000000 00000000000 14042356110 0023765 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-dhl/modules/dhl/__init__.py 0000664 0000000 0000000 00000001476 14042356110 0026106 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2015 Matthieu Weber
#
# 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 DHLModule
__all__ = ['DHLModule']
woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-dhl/modules/dhl/browser.py 0000664 0000000 0000000 00000002632 14042356110 0026025 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2015 Matthieu Weber
#
# 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 DHLExpressSearchPage, DeutschePostDHLSearchPage
class DHLExpressBrowser(PagesBrowser):
BASEURL = 'https://www.dhl.com'
search_page = URL('/shipmentTracking\?AWB=(?P.+)', DHLExpressSearchPage)
def get_tracking_info(self, _id):
return self.search_page.go(id=_id).get_info(_id)
class DeutschePostDHLBrowser(PagesBrowser):
BASEURL = 'https://nolp.dhl.de'
search_page = URL('/nextt-online-public/set_identcodes.do\?lang=en&idc=(?P.+)', DeutschePostDHLSearchPage)
def get_tracking_info(self, _id):
return self.search_page.go(id=_id).get_info(_id)
woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-dhl/modules/dhl/favicon.png 0000664 0000000 0000000 00000000643 14042356110 0026123 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ % pHYs tIME! ( tEXtComment Created with GIMPW IDAThرn@E7&D&UK'f;rc˳zkV1 뇟W);KtCkno^c+g[К/@g@䵼3`Nj"f 5
M=aۿׁ2ߥzX\Ţ[nhsw%n|ɜV1[`ҏebFV!IߝH~