def __init__(self, invoice_number): super(EMSParser, self).__init__(invoice_number) parser_request = ParserRequest(url='http://trace.epost.go.kr/xtts/servlet/kpl.tts.common.svl.SttSVL?' \ 'target_command=kpl.tts.tt.epost.cmd.RetrieveOrderEpostPoEmsKorCMD' \ '&JspURI=/xtts/tt/epost/ems' \ '/EmsSearchResult.jsp&POST_CODE=%s' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number, auth_key): super(EPostParser, self).__init__(invoice_number) self.auth_key = auth_key parser_request = ParserRequest(url='http://openapi.epost.go.kr/trace/retrieveLongitudinalService/' \ 'retrieveLongitudinalService/getLongitudinalDomesticList?' \ 'ServiceKey=%s&rgist=%s' % (auth_key, self.invoice_number)) self.add_request(parser_request)
def __init__(self, invoice_number): super(KGLogisParser, self).__init__(invoice_number) parser_request = ParserRequest( url='https://www.kglogis.co.kr/delivery/delivery_result.jsp', method='POST', body='item_no=%s' % self.invoice_number, header={'Content-Type': 'application/x-www-form-urlencoded'}) self.add_request(parser_request)
def __init__(self, invoice_number, config): super(EPostParser, self).__init__(invoice_number, config) parser_request = ParserRequest( method='POST', header={'Content-Type': 'application/x-www-form-urlencoded'}, url='https://service.epost.go.kr/' 'trace.RetrieveDomRigiTraceList.comm', body=('sid1=%s' % self.invoice_number).encode('utf-8')) self.add_request(parser_request)
def __init__(self, invoice_number): super(KGBParser, self).__init__(invoice_number) parser_request = ParserRequest( url='http://www.kgbls.co.kr/auction/?number=%s' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number): super(LogenParser, self).__init__(invoice_number) parser_request = ParserRequest(url='http://www.ilogen.com/homeshopping/stracker_trace_xml.asp?' \ 'invoice=%s' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number): super(GTXParser, self).__init__(invoice_number) parser_request = ParserRequest() parser_request.url = 'http://www.gtxlogis.co.kr/tracking/' \ 'tracking_xml.asp?invoice=%s' % self.invoice_number self.parser_request = parser_request
def __init__(self, invoice_number, config): super(HapdongParser, self).__init__(invoice_number, config) parser_request = ParserRequest(url='http://admin.hdexp.co.kr/parcel' \ '/order_result_t.asp?p_item=%s' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number, config): super(HanjinParser, self).__init__(invoice_number, config) parser_request = ParserRequest(url='http://www.hanjin.co.kr/Delivery_html/inquiry' \ '/result_waybill.jsp?wbl_num=%s' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number, config): config['RESPONSE_ENCODING'] = 'cp949' super(LogenParser, self).__init__(invoice_number, config) parser_request = ParserRequest(url='http://www.ilogen.com/homeshopping/stracker_trace_xml.asp?' \ 'invoice=%s' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number, config): super(GTXParser, self).__init__(invoice_number, config) parser_request = ParserRequest('http://www.gtxlogis.co.kr/tracking/' \ 'tracking_xml.asp?invoice=%s' % self.invoice_number) self.add_request(parser_request) self.parser_request = parser_request
def __init__(self, invoice_number, config): super(EMSParser, self).__init__(invoice_number, config) parser_request = ParserRequest(url='https://service.epost.go.kr/trace.RetrieveEmsRigiTraceList.comm?' \ 'POST_CODE=%s&displayHeader=N' % self.invoice_number) self.add_request(parser_request)
def __init__(self, invoice_number): super(DoorToDoorParser, self).__init__(invoice_number) parser_request = ParserRequest(url='http://www.doortodoor.co.kr/tracking/jsp/cmn/Tracking_new.jsp?' \ 'QueryType=3&pOrderNo=&pTelNo=&pFromDate=&pToDate=&pCustId=&' \ 'pageno=1&rcv_cnt=10&pTdNo=%s' % self.invoice_number) self.add_request(parser_request)