ThioJoe / YT-Spammer-Purge

Allows you easily scan for and delete scam comments using several methods.
GNU General Public License v3.0
4.57k stars 389 forks source link

[Bug]: 'X' not accepted at number of recent videos prompt when using a config file #1036

Open Michael-Lemons opened 1 year ago

Michael-Lemons commented 1 year ago

Duplicate Issues

What happened?

I have a config file to scan recent videos from a fixed channel ID for a fixed spammer user ID. (Not my channel) When I start the program, it asks me if I want to use the config file. After pressing 'Y' it prompts me for the number of videos to scan. I would expect to be able to enter an 'X' and return to the main menu here, but the 'X' is not accepted.

More importantly, if I enter a number and complete a scan, the program always returns to the same "Number of Recent Videos:" prompt, such that I can only exit the program by pressing Control-C.

Config file options: use_this_config = Ask moderator_mode = True scan_mode = RecentVideos max_comments = Ask recent_videos_amount = Ask filter_mode = ID filter_subMode = Ask

Release version

2.18-Beta

Steps to reproduce

  1. Make a config file to scan for IDs where asks you for the number of recent videos to scan, but you specify the ID in the file.
  2. Run the program and accept the config file.
  3. Try to enter an X for the number of videos.
  4. Observe that the X will never be accepted.

What platform are you seeing this problem on?

Windows (.py script)

Relevant log output

No response

Screenshots

No response