Spaces:
Running
Running
Commit ·
47f0671
1
Parent(s): ad20b55
debug: log video API error code and msg
Browse files667 unmodified lines668669670671671672673674667 unmodified lines continue vurl = vd.get("videoUrl", "") if not vurl: errors.append(f"Castle: no videoUrl res={resolution}, keys={list(vd.keys())[:5]}") errors.append(f"Castle: video API error res={resolution}: code={vd.get('code')}, msg={vd.get('msg')}") continue
quality_map = {1: "480p", 2: "720p", 3: "1080p"}main.py+1-1