From a135efa13ab2d0e3a9224fe5ef799c0fbd59ad15 Mon Sep 17 00:00:00 2001 From: mbrucedogs Date: Fri, 25 Jul 2025 13:29:46 -0500 Subject: [PATCH] Signed-off-by: mbrucedogs --- examine_cache.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 examine_cache.py diff --git a/examine_cache.py b/examine_cache.py deleted file mode 100644 index af1de99..0000000 --- a/examine_cache.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 -import json - -# Load the cache file -with open('data/channel_cache.json', 'r', encoding='utf-8') as f: - cache = json.load(f) - -print(f"šŸ“‹ Channel cache type: {type(cache)}") -print(f"šŸ“‹ Channel cache keys: {list(cache.keys())}") - -# Check if it's a dictionary with channel URLs as keys -if isinstance(cache, dict): - print(f"\nšŸ” First few cache entries:") - for i, (key, value) in enumerate(list(cache.items())[:3]): - print(f" {i+1}. Key: '{key}'") - print(f" Type: {type(value)}") - if isinstance(value, list): - print(f" Length: {len(value)} videos") - if value: - print(f" First video: {value[0]}") - print() - -# Check if there's a "channels" key -if "channels" in cache: - print(f"šŸ” Found 'channels' key with {len(cache['channels'])} entries") - print(f"šŸ” Channels keys: {list(cache['channels'].keys())}") \ No newline at end of file