K
K
kyctaphik2022-02-28 17:05:22
Browsers
kyctaphik, 2022-02-28 17:05:22

How to download an entire folder in the browser from someone else's site?

I'm in chrome, open the site, press f12 opens the console. I open the source tab, there I see folders and subfolders in them and then files. If I pierce to the file (picture) itself like this, I can click save as and save the file, but what if there are a lot of folders, inside of which there are a lot of subfolders. I want one click, one time download this folder which contains files. Please help resolve the issue!
PS: I tried to download using Wget and cyotek webcopy, for some reason they don’t download this directory, but I see it in the browser, so I need a solution like this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2022-02-28
@rPman

If all the necessary pictures are downloaded by the browser and in order not to manually click on each one, you can save all requests at once, right-click save as .har
The .har archive itself can be opened with something like https://github.com/azu/har-extractor (google there are many such extensions)
If anything, the folder in http is a conditional thing and no one guarantees (more precisely, it almost always does not exist) that you can get a list of files in it, i.e. only if the page has a link to the file, you can find out that this file is there, but without walking around the site (manually or with a script) you won’t be able to get such a list of files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question