google-images-download icon indicating copy to clipboard operation
google-images-download copied to clipboard

How to make this script fast ?

Open whatneuron opened this issue 6 years ago • 5 comments

Downloading 100 images take about 10 minutes on a fast internet connection, any idea how to make it fast ? thanks

whatneuron avatar Sep 21 '19 08:09 whatneuron

To be honest being a scraper the script is kinda fast. I think the problem is related to your setup, because for 100 images doesn't take more than 1-2 minutes in my case.

LorenzoPinto04 avatar Sep 25 '19 10:09 LorenzoPinto04

@lorenzo how you doing it ?

whatneuron avatar Sep 30 '19 23:09 whatneuron

great, can i see your implementation of code as it's slow for me

whatneuron avatar Oct 03 '19 00:10 whatneuron

AFIK: Try thumbnails only as they're pulled from google directly. Where as the full images are dependent on the actual websites you're pulling from.

If thumbnails are fast, then lower the socket_timeout argument to be less than the default of 10 seconds.

D3MZ avatar Nov 09 '19 15:11 D3MZ