How can I download images from a website without saved images?
Today, I looked at the itravel website and found that the pictures in it were really good and pretty, but it was a pity that when I wanted to download the picture, I found it useless to right-click the picture, it is estimated that the right-click operation is disabled on the website. After all, the pictures in it are private works of many photographers. But what should I do if I really want the pictures in it?
Next, let's take a look at how to download the images. Maybe someone else has a better method, but I think my method is also good.
First, press F12 in the browser to open the developer tool. We can see a lot of code, but the search in the webpage code is really tiring. So I opened the Network option and then filtered by the resource type, generally, the image url can be found.
At first, I copied the url address to open it in the browser. Later, I found that it is useless to open the url directly in the browser.
In this case, I suddenly thought of using wget, And I downloaded it right away! Sure enough, wget is powerful. A command !!
In the future, you can expand and write a crawler-like script to download all the image resources on the road, but it cannot be used for commercial purposes !!