Answer the question
In order to leave comments, you need to log in
How to download all pictures via wget without knowing the names of the files?
Hello everyone, tell me how to download all jpg images via wget) For example, there is a site vk.com and I know that at vk.com/img/all/ there are several hundred jpg images with different names. So I would like to somehow automatically download all these pictures. I only know the prefixes of these pictures 2017_ and then xs))) I tried to download this way, but it downloads only a few pictures and unnecessary html and folders
wget -r -k -l 7 -p -E -nc https://vk.com/img /all/
wget -r --level=1 -A jpg -nd https://vk.com/img/all/
wget -r --level=3 -R -A jpg https://vk.com/img /all/
Perhaps there are other ways) Please give me a ready-made solution, with me "I like it"
Answer the question
In order to leave comments, you need to log in
No way. http/https by itself does not work with the file system, therefore it is impossible to get a list of files (their names) in a simple way - if it is not provided by vk, there is some function to display a list of available images.
But as far as I know, there is no such function in vk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question