def pull_items(batch):

    list_to_pull = list_of_unique_items(batch)

    for l in list_to_pull:
        polyvore.create_item_file(l)
        print "file created"
Beispiel #2
0
def pull_items(list_of_items):

    counter = 0

    for item_id, item_seo_title in list_of_items:

        polyvore.create_item_file(item_id, item_seo_title)
        print "file %d created" % counter
        time.sleep(.25)
        counter += 1