prefer h264/mp4

This commit is contained in:
Nexus 2023-05-25 22:47:34 +01:00
parent 0ccf482556
commit cdee142d45

View file

@ -1223,7 +1223,8 @@ class OtherCog(commands.Cog):
"logger": logger,
"format": _format or f"(bv*+ba/bv/ba/b)[filesize<={MAX_SIZE_MB}M]",
"paths": paths,
"outtmpl": f"{ctx.user.id}-%(title)s.%(ext)s"
"outtmpl": f"{ctx.user.id}-%(title)s.%(ext)s",
"format_sort": "codec:h264,ext"
}
) as downloader:
try: