Answer the question
In order to leave comments, you need to log in
Image link generator?
The crux of the matter is this!
We have two links:
***********ages/m/specialgifts/201405(7aa786fd5b).png
***********ages/m/specialgifts/201405(2bce799a91).png
As you can see, the last 10 characters in the link are different, they are in brackets, you need a service or program to iterate over a certain part of the URL and then check if there is a picture on it.
Hand picking is not an option.
Prompt software for enumeration.
Previously, in VK, they searched for pictures like this
Answer the question
In order to leave comments, you need to log in
Is there a picture on it? On what?
UPD1 You send
a link to the picture to the function in which you send a request to this url, if the response is a 404 error, then there is no picture. You can push this function into a loop, or call it if necessary.
But This function will also check for the existence of other pages, even if it's not even a link to an image. To do this, filter the links
The difference in the link is 10 characters, I know for sure that there are more pictures in a certain directory, but it's unrealistic to sort through the handles to find a specific picture
In general, I need to generate
from
*******.ru/images/m/specialgifts/201405aaaaaaaaa.png
to
*******.ru/images/m/specialgifts/2014059999999999.png
Including letters and numbers, and check if this image exists on the site
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question