699 Commits

Author SHA1 Message Date
ThioJoe
889a7868fc Update filter_variables.py 2025-08-25 15:08:11 -07:00
ThioJoe
90f8ec48e4 Update filter_variables.py 2025-07-25 15:06:55 -07:00
ThioJoe
ac2ac53557 Add setuptools to requirements, update docker compose
Should address #1088, #1153
2025-05-26 18:32:32 -07:00
ThioJoe
0a1019d6ec Merge branch '2.18-Beta' 2025-05-26 18:14:00 -07:00
ThioJoe
2888c14e85 Fix community post scanning
Update version number to 2.18.0
Fix fetching recent community posts
Fix community post comments
2025-05-26 17:09:27 -07:00
ThioJoe
48d5419289 Fix importing updated filter file when running as exe 2025-05-26 16:12:55 -07:00
ThioJoe
18978adeaa Update filters to catch $XAI... crypto spam v2.18.0 2025-05-26 13:55:59 -07:00
ThioJoe
b774de2f2d Fixed excessive blank lines during scanning
This should fix all the extra blank lines that appear between videos when there are multiple being scanned.
2024-01-01 17:40:55 -07:00
ThioJoe
a355916b45 Update Version Beta3 v2.18.0-Beta3 2024-01-01 16:02:20 -07:00
ThioJoe
0229f37ec6 Better highlighting matched samples
-Also now shows message explaining red highlights.
2024-01-01 15:40:39 -07:00
ThioJoe
b22d56e824 Colorize Index in List-Matched Samples
Now matches index number in sample list too
2024-01-01 14:33:40 -07:00
ThioJoe
31525966e5 Add list-matched text colorization in samples
If a match was made from a known spam list, it will be highlighted in red in the samples list.
2024-01-01 14:22:19 -07:00
ThioJoe
2bab72d608 Add tip about widening window after scan v2.18.0-Beta2 2024-01-01 11:24:16 -07:00
ThioJoe
aebbb62452 Dynamically adjust samples length from window size
- Gets size of the console window and adjusts the length of the  samples displayed accordingly
2024-01-01 11:06:44 -07:00
ThioJoe
91816f3128 Disable googleapiclient discovery cache
Greatly reduces extracted program size by not including unnecessary discovery cache files
v2.17.1
2024-01-01 09:33:05 -07:00
ThioJoe
db31e757ea Disable googleapiclient discovery cache
Greatly reduces extracted program size by not including unnecessary discovery cache files
2023-12-30 12:40:41 -07:00
ThioJoe
ea76816e54 Disable false positive check
It wasn't reliable at all
2023-12-29 16:50:16 -07:00
ThioJoe
59781bbbc2 Remove unnecessary variable retrieval
Getting the variables from the function was causing errors with the EXE version. Just took them out because they don't get used right now anyway.
2023-12-29 16:43:29 -07:00
ThioJoe
b20c3fad35 Fix possible 'None' returns, fix version number
It's actually Beta2
2023-12-29 16:32:53 -07:00
ThioJoe
b649ac6d02 Filter list version variable gets updated on check
Might be useful in the future, but right now it doesn't make a difference.
2023-12-29 15:43:24 -07:00
ThioJoe
2394215194 Add Spam List Regex Pre-Compiling
- 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
2023-12-29 14:44:34 -07:00
ThioJoe
fd01087592 Fix unescaped special characters
- Should fix places where unescaped HTML codes of special characters appear in video titles
Addresses #791
2023-12-29 12:40:30 -07:00
ThioJoe
bc94324863 auth.py - Improve password entry flow
- 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.
2023-12-29 12:20:11 -07:00
ThioJoe
4404b3b84a Merge branch 'main' into 2.18-Beta 2023-12-25 21:16:55 -05:00
throwaway
85ef51d3e3 Improve README.md accessibility for screen readers (#995)
* Improve README.md accessibility for screen readers

1. The "issue" and "pull request" badges are removed because they're obvious that you can already see the counters on GitHub.
2. Add width for the remaining badges. https://web.dev/optimize-cls/#images-without-dimensions
3. Improve alt texts of the badges (the alt texts on ## Screenshots is still not worked on yet)
4. Add height = '353' for the screenshots

* Remove some unnecessary trailing slashes on `img` elements README.md

See https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements

---------

Co-authored-by: throwawayaccountfor <121148372+throwawayaccountfor@users.noreply.github.com>
2023-12-25 21:13:56 -05:00
Eduardo Rosas
6a77531487 Check moderator mode (#1039)
* 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.
2023-12-25 21:09:41 -05:00
Muralidhar Bijjur
cdd2a90340 added additional packages to build (#1038)
* updated docker file

added packages required for arm v6 and v7 arch

* Update Dockerfile
2023-12-23 19:41:52 -08:00
ThioJoe
d6e388f894 Merge branch 'main' into 2.18-Beta 2023-12-23 22:36:12 -05:00
ThioJoe
43ad684a87 Fix expired token refresh error
- Now removes both non-encrypted and encrypted token files only if they exist.
Addresses #1040
2023-12-23 22:32:05 -05:00
ThioJoe
b11d65c982 Fix Community Comment Scanning
- YouTube updated the web page layout source code at some point, so this fixes the references to the location of the posts

Addresses #1082
2023-12-23 20:34:48 -05:00
mbijjur
6ec0596fff added cmake to build (#1032) 2023-03-28 11:05:23 -07:00
ThioJoe
ee86c5918e Fix KeyError loading config
If config was out of date was throwing keyerror
v2.18.0-Beta1
2023-03-25 22:55:41 -07:00
ThioJoe
9af19a6602 Update auth.py - Improve password messaging
Added colors and better wording for creating and entering encryption password
2023-03-19 15:45:45 -07:00
ThioJoe
689cc74a4d Update Requirements
Add cryptography package requirement
2023-03-19 15:39:23 -07:00
ThioJoe
3dc0e07628 Add encryption of token file by default
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.
2023-03-19 15:34:53 -07:00
ThioJoe
18cbe0ca9f Merge branch '2.17-Beta' v2.17.0 2023-03-19 12:06:26 -07:00
ThioJoe
e0106da898 Fix KeyError when invalid channel ID entered
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.
2023-03-14 14:57:11 -07:00
ThioJoe
4c2fd85767 Update filter_variables.py
Update Filters
2023-03-09 15:09:20 -07:00
ThioJoe
6aedbbd68d Update filter_variables.py
Update Filters
2023-03-09 15:07:15 -07:00
ThioJoe
048b4fdc2b Update Requirements - Levenshtein package renamed
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
v2.17.0-Beta7
2023-03-04 13:12:22 -07:00
ThioJoe
58cc116f59 files.py - Change linux update download method
Uses updated getRemoteFile function to download update tar file. Will retry using alternative method (stream = False) if fail.

Set Beta version 7
2022-12-19 15:58:35 -07:00
ThioJoe
f6c500803d Files.py - Improve file downloading function
- 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)
2022-12-19 15:32:29 -07:00
ThioJoe
71548dd66e files.py - Add additional OSError exception handling
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
2022-12-19 13:41:27 -07:00
ThioJoe
2aae168413 Add better warnings for invalid choices
- 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
2022-12-12 08:24:40 -07:00
ThioJoe
968e0cb9d0 Add Channel ID retrieval tool
Create new user_tools.py script and "helpful tools" main menu option. Allows one to look up the Channel ID of a channel based on a video URL.
v2.17.0-Beta6
2022-12-11 16:22:41 -07:00
ThioJoe
91276e6048 Improve handle support and custom URL support
- 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
2022-12-11 15:21:24 -07:00
ThioJoe
c4b2be0ee1 Remove beta version checking warning
It seems to work correctly
2022-12-11 14:42:21 -07:00
ThioJoe
e1dd144837 Update protobuf version in requirements
Addresses CVE-2022-1941
2022-12-11 14:38:08 -07:00
ThioJoe
9c51b28e8f Update protobuf version in requirements
Addresses CVE-2022-1941
v2.17.0-Beta5
2022-12-11 14:32:10 -07:00
ThioJoe
2d0999f850 Add Handles Support, Increase Releases Check
Adds check for handles format and does a search to return channel ID.

Also increases number of releases checked when checking for updates.
2022-12-11 14:23:49 -07:00