Esempio n. 1
0
def process_chunk(pks, ignore_result=True):
    #objs = Amazon_NR.objects.filter(pk__in=pks)
    print 'Gonna process a chunk of ' + str(len(pks))
    for p in pks:
        print p
        objs = AmazonTradeIn.objects.filter(productcode=p)
        for obj in objs:
            print obj
            amazon.parseUsedPage(obj)
Esempio n. 2
0
def process_chunk(pks, ignore_result=True):
    #objs = Amazon_NR.objects.filter(pk__in=pks)
    print 'Gonna process a chunk of ' + str(len(pks))
    for p in pks:
        print p
        objs = AmazonTradeIn.objects.filter(productcode=p)
        for obj in objs:
            print obj
            amazon.parseUsedPage(obj)
Esempio n. 3
0
def detailTheBook(am):
    amazon.parseUsedPage(am)
Esempio n. 4
0
def detailTheBook(am):
    amazon.parseUsedPage(am)