| Line 324... |
Line 324... |
| 324 |
shipmentStatusSection = shipment('.a-section:eq(0)')
|
324 |
shipmentStatusSection = shipment('.a-section:eq(0)')
|
| 325 |
productDetails = shipment('.a-section:eq(1)>.a-row')
|
325 |
productDetails = shipment('.a-section:eq(1)>.a-row')
|
| 326 |
print shipmentStatusSection('h3').text(), shipmentStatusSection('span').text()
|
326 |
print shipmentStatusSection('h3').text(), shipmentStatusSection('span').text()
|
| 327 |
for productDetail in productDetails:
|
327 |
for productDetail in productDetails:
|
| 328 |
productDetail = pq(productDetail)
|
328 |
productDetail = pq(productDetail)
|
| 329 |
print productDetail
|
- |
|
| 330 |
pImg = productDetail.children('div').eq(0)
|
329 |
pImg = productDetail.children('div').eq(0)
|
| 331 |
pQty = productDetail.children('div').eq(1)
|
330 |
pQty = productDetail.children('div').eq(1)
|
| 332 |
#print pImg('a').attr('href'), pImg('a').attr('title'), pImg('img').attr('src'), pQty('.a-row:nth-child(2)')('span').text().split(':')[1].strip(), pQty('span.currencyINR')
|
331 |
#print pImg('a').attr('href'), pImg('a').attr('title'), pImg('img').attr('src'), pQty('.a-row:nth-child(2)')('span').text().split(':')[1].strip(), pQty('span.currencyINR')
|
| 333 |
print pImg('a').attr('href'), pQty('.a-row:nth-child(2)')('span').text().split(':')[1].strip()
|
332 |
print pImg('a').attr('href'), pQty('.a-row:nth-child(2)')('span').text().split(':')[1].strip()
|
| 334 |
print int(float(pQty('nobr').text().replace('Rs.','').replace(',', '')))
|
333 |
print int(float(pQty('nobr').text().replace('Rs.','').replace(',', '')))
|