joyn: vod better logging

This commit is contained in:
Nirvana
2026-09-08 13:19:52 +02:00
parent 4174904fb9
commit cfb52a6ad3
@@ -295,7 +295,12 @@ class JoynVodManager:
season_ids = set(matches)
if not season_ids:
logger.warning(f"No season IDs found in HTML for {path}")
next_data = re.search(r'"seasonId"\s*:\s*"([^"]+)"', html)
logger.warning(
f"No season IDs found in HTML for {path} "
f"(html_len={len(html)}, has_c_substr={'c_' in html}, "
f"has_next_data_seasonId={bool(next_data)})"
)
return []
seasons_meta = []