Parallel process url gets with python

Viewed 13

I have a csv file of 50,000 urls to images, i need to iterate through them and download them all.

Currently i'm doing the below. However, this takes forever, is there a way to parallel execute to speed up this process.

with open("{0}".format(filename), 'r') as csvfile:
    # iterate on all lines
   
    for line in csvfile:
        #get url

Thanks

0 Answers
Related