.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user