Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

fix(youtube): use neutral wording for ScrapeCreators rescue logs

Amit Vijapur94138da0aeae
diff --git a/skills/last30days/scripts/lib/youtube_yt.py b/skills/last30days/scripts/lib/youtube_yt.py
index 86ce4781..c5ed195b 100644
--- a/skills/last30days/scripts/lib/youtube_yt.py
+++ b/skills/last30days/scripts/lib/youtube_yt.py
@@ -840,7 +840,7 @@ def fetch_transcript(
# wrong. Log the rescue and flag it in `status` so the summary
# can report it explicitly instead of masking it (#831).
_log(f"ScrapeCreators transcript fallback rescued {video_id} "
- f"after yt-dlp failure")
+ f"after the keyless fetch cascade failed")
if status is not None:
status["sc_rescued"] = True
return sc_transcript
@@ -904,7 +904,8 @@ def fetch_transcripts_parallel(
got = sum(1 for v in results.values() if v)
errors = sum(1 for v in results.values() if v is None)
# `got` includes videos that only succeeded because the ScrapeCreators
- # fallback rescued a failed yt-dlp fetch (see fetch_transcript()). Folding
+ # fallback rescued a failed keyless fetch — yt-dlp when available, or the
+ # direct HTTP path alone (see fetch_transcript()). Folding
# those into a bare "M failed" count previously made a fully rate-limited
# yt-dlp run — every fetch failing, silently saved by the fallback — read
# as "0 failed", with no trace of the fallback ever having fired (#831).
@@ -913,8 +914,7 @@ def fetch_transcripts_parallel(
sc_rescued = sum(1 for st in statuses.values() if st.get("sc_rescued"))
if sc_rescued:
_log(f"Got transcripts for {got}/{len(video_ids)} videos "
- f"({errors} failed, {sc_rescued} rescued via ScrapeCreators "
- f"fallback after yt-dlp failure)")
+ f"({errors} failed, {sc_rescued} rescued via ScrapeCreators fallback)")
else:
_log(f"Got transcripts for {got}/{len(video_ids)} videos ({errors} failed)")
return results