- The program now saves files containing the pre-compiled regex objects for the spam lists so they don't have to be compiled on every scan, immensely saving time.
- Will automatically re-compile and save when there are new lists versions
- Now when user enters password, it will show asterisks as they type. This uses third party 'pwinput' module instead of getpass.
- If credential has been refreshed, token needs to be encrypted again, so now there is wording to explain the reason for having to re-enter the password.
* added cmake to build (#1032)
* Check for moderator mode to set deletion settings
When "User wants to automatically delete with no user intervention" code doesn't check if moderator_mode is enabled when setting default confirmDelete and deletionMode values, which prevents moderators from automatically holding comments for review.
Adds new encrypt_token_file option in config, which is True by default. If True, next time the program is run, or whenever the user logs in, the token file will be replaced by an encrypted version. The user will enter the password for this.
If False, it will not have the user enter a password to encrypt the file. But if an encrypted token file already exists, it will still prompt the user for the password.
Changed to use dict.get() function so there wouldn't be a KeyError if no items were returned in the API response.
Also fixed incorrect color code used.
python-levenshtein was renamed to 'levelshtein'
Will probably need to uninstall the old one and install latest version of new name
pip uninstall python-levenshtein
pip install --upgrade levenshtein
- Moved the code that writes file to disk after fetching into the getRemoteFile function.
- Added automatic retry of download on fail, using alternative download method (stream true/false, depending on previous attempt)
I had failed to add handling for most OSError exceptions when manually checking for updates. This will handle the rest and print the error.
Addresses #993
- User Tools menu now has better warning when an invalid choice is made.
- The video ID validation function now displays more specific error messages depending on whether the entry appears to be a URL or not
- Fixes issue validating URL sometimes if www was in URL
- Improves searches of channels by restricting API results to only channels, not videos. Now if YouTube doesn't return the channel, it should at least return nothing more often instead of the wrong channel altogether.
Addresses #455 , #974 , #854