Stop printing captions into log

This commit is contained in:
metalune 2021-07-30 19:27:53 +02:00
parent 90a7a03b34
commit a01b5547ee

View file

@ -416,7 +416,6 @@ async def video_channels__about(domain, name):
async def subtitles(domain, id, lang):
try:
captions = peertube.video_captions(domain, id)
print(captions)
for entry in captions["data"]:
if entry["language"]["id"] == lang: return peertube.video_captions_download(domain, entry["captionPath"].split('/')[-1])
return await render_template(