WebGetter v2.0.0
Updated 04/04/25
Changelog:
[Added Features]
-
--no-check-certificate Option:
- Added the --no-check-certificate flag to the wget commands to handle websites with invalid SSL certificates.
- This allows users to download content from websites that do not have valid SSL certificates, without encountering errors.
-
Improved User Interaction:
- Added clearer prompts and error messages for user input to ensure proper execution.
- Introduced better validation for inputs such as website links and folder names to avoid empty or invalid inputs.
[Improvements]
-
User Choice Validation:
- Enhanced the validation mechanism when selecting between options (1 or 2), ensuring only valid input is accepted.
- If the user enters an invalid choice, an error message is shown, and the script prompts the user again.
-
Restart Option:
- Introduced a more interactive restart option, allowing users to choose whether they want to restart the script in case of a failure or exit.
- This ensures a smoother user experience in case of interruptions.
[Bug Fixes]
-
Empty Inputs:
- Added checks to prevent the user from entering empty website links or folder names.
- The script now checks if the input is empty and prompts the user to enter a valid value.
-
Script Error Handling:
- Improved error handling for invalid choices in the main menu, ensuring the script exits gracefully with an error message when needed.
[Enhancements]
-
Progress Bar:
- Added a progress bar to show the download status when fetching the website sources.
- The progress bar updates dynamically as the download progresses, providing visual feedback to the user.
-
Code Structure:
- Refined the code structure for better readability and maintenance.
- Split the script into smaller, more manageable functions for handling user input, downloading, and error handling.
[Known Issues]
- No known issues at the moment.