Skip to content

Releases: smzr/img-fetcher

v1.0.5

04 Aug 11:00
Compare
Choose a tag to compare

Bug Fixes

  • Fix for protocol-relative URLs

Full Changelog: v1.0.4...v1.0.5

v1.0.4

31 Jul 09:13
Compare
Choose a tag to compare

Major Changes

  • Add progress bars by @maxbryarsmansell in #1

Bug Fixes

  • Handle images with relative URL
  • Fix bug from commander for parseInt giving NaN if default is given

Full Changelog: v1.0.3...v1.0.4

v1.0.3

28 Jul 11:28
Compare
Choose a tag to compare

Major Changes

Replaced wget with fs for image downloads:
We have replaced the dependency on wget with the built-in fs (file system) module for image downloads. This simplifies the image download process and eliminates the need to create an intermediate file to store image URLs.

New Features

Added Command-Line Options:
--output : This new option allows users to specify the output directory for downloaded images. If not provided, the default output directory will be the current working directory.
--limit : Another handy option that sets the maximum number of images to download. When specified, the tool will stop downloading images once the specified limit is reached.

Bug Fixes

Duplicate Image Download:
Previously, the tool would download the same image multiple times if it appeared twice on the web page. We've fixed this issue, and the tool now skips downloading duplicate images.

v1.0.2

28 Jul 09:18
Compare
Choose a tag to compare

First release of img-fetcher, a CLI tool for downloading images from a web page using a CSS selector.