This commit is contained in:
2026-03-30 11:45:17 +07:00
parent 2d97c3d34a
commit fb12e9444f

View File

@@ -621,10 +621,10 @@ class BLBL(Service):
"codec": audio_codec_map.get(audio['id'], "mp4a.40.2"),
})
import json
with open("data.json", "w") as f:
json.dump({"videos":videos,
"audios": audios,
}, f, indent=4, ensure_ascii=False)
# with open("data.json", "w") as f:
# json.dump({"videos":videos,
# "audios": audios,
# }, f, indent=4, ensure_ascii=False)
return {"videos":videos,
"audios": audios,
}