| Line 507... |
Line 507... |
| 507 |
productImgUrl= allproductImageTags[0].get('style').split("background:url('")[1].split("')no-repeat center")[0].strip()
|
507 |
productImgUrl= allproductImageTags[0].get('style').split("background:url('")[1].split("')no-repeat center")[0].strip()
|
| 508 |
productDetailsSubMap['productCode']=productCode
|
508 |
productDetailsSubMap['productCode']=productCode
|
| 509 |
productDetailsSubMap['imgUrl']=productImgUrl
|
509 |
productDetailsSubMap['imgUrl']=productImgUrl
|
| 510 |
'''
|
510 |
'''
|
| 511 |
br1 = getBrowserObject()
|
511 |
br1 = getBrowserObject()
|
| 512 |
print 'Sub Order Tracking Url', BASE_URL+'&'+subOrderTrackingParsingUrl
|
- |
|
| 513 |
orderTrackingPage = br1.open(BASE_URL+'&'+subOrderTrackingParsingUrl)
|
512 |
orderTrackingPage = br1.open(BASE_URL+subOrderTrackingParsingUrl)
|
| 514 |
headers = str(orderTrackingPage.info()).split('\n')
|
513 |
headers = str(orderTrackingPage.info()).split('\n')
|
| 515 |
orderTrackingPage= ungzipResponse(orderTrackingPage)
|
514 |
orderTrackingPage= ungzipResponse(orderTrackingPage)
|
| 516 |
jsonResponse = None
|
515 |
jsonResponse = None
|
| 517 |
for header in headers:
|
516 |
for header in headers:
|
| 518 |
header = header.split(':')
|
517 |
header = header.split(':')
|