Subversion Repositories SmartDukaan

Rev

Rev 16145 | Rev 16147 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16145 Rev 16146
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
512
            orderTrackingPage = br1.open(BASE_URL+'&'+subOrderTrackingParsingUrl)
513
            orderTrackingPage = br1.open(BASE_URL+'&'+subOrderTrackingParsingUrl)
513
            headers = str(orderTrackingPage.info()).split('\n')
514
            headers = str(orderTrackingPage.info()).split('\n')
514
            orderTrackingPage= ungzipResponse(orderTrackingPage)
515
            orderTrackingPage= ungzipResponse(orderTrackingPage)
515
            jsonResponse = None
516
            jsonResponse = None
516
            for header in headers:
517
            for header in headers: