Releases: adamdehaven/fetchurls
Releases · adamdehaven/fetchurls
Adding flags, and enabling non-interactive mode
This update adds the ability to pass settings (domain, save location, filename, excluded file extension list, etc.) via flags on the command line, which in turn, also enables the script to run in non-interactive mode as suggested by @andrew-acpatt.
View the updated README for all the enhancements 🎉
Version 2.0
- Added prompt to allow user to configure save location (directory).
- Script automatically creates save location (directory) if it does not exist.
- Added check to determine if URL is valid (looks for HTTP status 200).
- Added error handing for invalid URLs/strings.
- Added automatic HTTP 301 redirect following (for first redirect). Fixes most protocol mismatches.
- Added
beforeExittrap to cleanup empty files and colors if user aborts.
Strip Trailing Slash & Improved Output
- Strip trailing slash from user input URL.
- Added count to success message.
- Added color to output.
Custom Output Filename
Updated to allow customizing the outputted filename.
Initial Release
v1.0 Initial commit