Пример #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)
Пример #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)
Пример #3
0
def detailTheBook(am):
    amazon.parseUsedPage(am)
Пример #4
0
def detailTheBook(am):
    amazon.parseUsedPage(am)