N
N
noob4ik22017-12-10 23:38:17
linux
noob4ik2, 2017-12-10 23:38:17

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

1 answer(s)
S
Saboteur, 2017-12-11
@saboteur_kiev

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 question

Ask a Question

731 491 924 answers to any question