From d327681ff879262d6a4a639ab253b6b3f4835ee7 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 17 Apr 2026 05:21:59 +0000 Subject: [PATCH] chore: Disable Reddit pipeline temporarily Comment out the entire main() body (fetch, TTS, screenshot, background, final video) per user request. Will re-enable later. https://claude.ai/code/session_01G67vV3sJLXtm2q9r9FcF7L --- main.py | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/main.py b/main.py index 742fedf..890709c 100755 --- a/main.py +++ b/main.py @@ -48,20 +48,21 @@ reddit_object: Dict[str, str | list] def main(POST_ID=None) -> None: global reddit_id, reddit_object - reddit_object = get_subreddit_threads(POST_ID) - reddit_id = extract_id(reddit_object) - print_substep(f"Thread ID is {reddit_id}", style="bold blue") - length, number_of_comments = save_text_to_mp3(reddit_object) - length = math.ceil(length) - get_screenshots_of_reddit_posts(reddit_object, number_of_comments) - bg_config = { - "video": get_background_config("video"), - "audio": get_background_config("audio"), - } - download_background_video(bg_config["video"]) - download_background_audio(bg_config["audio"]) - chop_background(bg_config, length, reddit_object) - make_final_video(number_of_comments, length, reddit_object, bg_config) + # reddit_object = get_subreddit_threads(POST_ID) + # reddit_id = extract_id(reddit_object) + # print_substep(f"Thread ID is {reddit_id}", style="bold blue") + # length, number_of_comments = save_text_to_mp3(reddit_object) + # length = math.ceil(length) + # get_screenshots_of_reddit_posts(reddit_object, number_of_comments) + # bg_config = { + # "video": get_background_config("video"), + # "audio": get_background_config("audio"), + # } + # download_background_video(bg_config["video"]) + # download_background_audio(bg_config["audio"]) + # chop_background(bg_config, length, reddit_object) + # make_final_video(number_of_comments, length, reddit_object, bg_config) + print_step("Reddit pipeline is disabled. Uncomment main() body to re-enable.") def run_many(times) -> None: