Scan Multiple Channels (Editing Purger Script) #1086
Grubes2023
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to run this script once and have it run through a list of the channels I subscribe to. So I edited the python script somewhat
First : Edited how script got channel to scan id. Instead of config file, I passed it as an argument. I also ended up doing the same for num videos (for recent video mode)
Second : Enabled autoclose in the config and edited the script so that any auto-close section would return False, so that the continueRunning loop (line 1691 original python file) would break out.
Finally I created dictionaries to relate channel names to channel_ids and number of videos to scan. I wrapped the main part of the code at the end in its own function to iterate through the dictionary entries and executing the purger on each.
This is my "Brute Force" way of doing it. I'm sure someone else can use my method and clean it up
Beta Was this translation helpful? Give feedback.
All reactions