T
T
Twist2014-11-07 00:50:24
PHP
Twist, 2014-11-07 00:50:24

How to download many images?

There is a file containing a lot of links to images. The images are not large, BUT there are a lot of them.
I have two options
1. add this entire list to the database, and then pass it to rabbitmq and let it rock to its health.
2. rough and not beautiful, namely to increase the execution time of the script.
How to download them quickly and painlessly? How would you do it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Shamanov, 2014-11-07
@bboytiwst

If for home use, then the second option - what's the point of wasting time if no one appreciates it? If we talk about work, then in most cases a js script is used that cyclically sends ajax requests to the php file loader until the data is fully loaded.

A
Anatly Petrov, 2014-11-07
@FisHlaBsoMAN

I would do it as here a bit modified or in general on perl

V
Vitaly, 2014-11-07
@vipuhoff

I would write a script in C# in 5 minutes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question