Subversion Repositories SmartDukaan

Rev

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

Rev 12240 Rev 12259
Line 80... Line 80...
80
    for data in scrapedInfo:
80
    for data in scrapedInfo:
81
        if data.asin is None or len(data.asin)==0:
81
        if data.asin is None or len(data.asin)==0:
82
            continue
82
            continue
83
        try:
83
        try:
84
            url = "http://www.amazon.in/gp/offer-listing/%s/ref=olp_sort_ps"%(data.asin)
84
            url = "http://www.amazon.in/gp/offer-listing/%s/ref=olp_sort_ps"%(data.asin)
85
            scraperAmazon.read(url)
85
            scraperAmazon.read(url,False)
86
            lowestSp = scraperAmazon.createData()
86
            lowestSp,store = scraperAmazon.createData()
87
            data.amazonPrice = lowestSp
87
            data.amazonPrice = lowestSp
88
        except:
88
        except:
89
            continue
89
            continue
90
 
90
 
91
def populateScrapingInfo():
91
def populateScrapingInfo():