Image selector can extract src
attribute (URL) of an image.
Note! When selecting CSS selector for image selector all the images within the site are moved to the top. If this feature somehow breaks sites layout please report it as a bug.
See Text selector use cases.
Image downloader script finds image urls scraped by Image Selector in a csv file and downloads them.
It will try to download images from all URLs that are stored in columns that
names end with -src
. web-scraper-order
and web-scraper-start-url
columns are
required in order for script to work. Images are renamed to
<web-scraper-order>-<selector-name>.ext
.
image-downloader.py
image-downloader.py
to Downloads
directoryDownloads
directoryTerminal
application. You should have one pre-installedDownloads
directory by typing:
cd Downloads
python image-downloader.py scraped_data.csv