V
V
VoenDabra2015-02-03 08:30:11
Wget
VoenDabra, 2015-02-03 08:30:11

Download images with random name?

There is a site on which images lie. They need to be downloaded.
Direct urls to images look like this -
http:/site.ru/upload/!c/!import/name/000 001 - go44gzvmk6 .jpg
where 000 001 is the usual numbering in order (bold is the counter that changes, that is, the last 3 digits), but go44gzvmk6 is a random string always 10 characters long (low case and numbers)
, that is, all urls for images look like:
/000 002 -**********.jpg
/000 003 -**********.jpg
and so on up to /000 678 -**********.jpg
where * is 10 random characters from low-case and numbers.
the first 3 digits, hyphen and extension remain unchanged .
My download plugin in Firefox allows me to set a mask for 000 001 , but there is no mask for the random string, as I understand it, this is a kind of protection against downloading images.
Question: How can I use wget or curl or something to download all the images? Is there a way to tell a script or program - 000[001:700]-[10 favorite characters].jpg?
OS - Win7 x64

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mayorovp, 2015-02-03
@mayorovp

The absence of a mask for random strings is not "protection", but common sense. Have you considered how many possible lines you need to check to download everything?
3 656 158 440 062 976
And this is not taking into account the first part (that is, multiply by 700). If you check 1000 possible links per second, you need 81 million years.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question