How to find and download a image file of specific resolution using wget?
5,789
- Go to Google Images with a browser like Firefox.
- Add a search term and click on search options.
- Select exact resolution and enter your numbers.
- Select an appropriate image.
- Click on the image and copy the URL.
- Open a terminal and enter
wget COPIED_URL
.
For instance the search for term »ubuntu« leads to this URL: http://virtualization.com/wp-content/uploads/2008/03/virtualization-kvm-ubuntu.png
and this image:
Related videos on Youtube
Author by
sid anand
Updated on September 18, 2022Comments
-
sid anand over 1 year
How can I find and download an image file of specific resolution e.g.: 100x99 whose file name is not known using
wget
?Thanks in advance.
-
Aditya about 11 years
wget
is a tool to download things off internet. It's not meant to have search capabilities. You need to know the URI of the file you want to download. -
Rinzwind about 11 yearsYou need to know the exact URL or download the whole page with wget and then extract the image with grep/sed/awk/python/something and then wget that image.
-
don.joey about 11 yearsdoes it have to be wget or can it be a python script?
-