This commit is contained in:
vrubel 2026-01-28 19:01:29 +03:00
parent 990444601d
commit 4fb33befcf

View file

@ -201,7 +201,11 @@ async def download_and_convert(
try: try:
formats_to_try = [ formats_to_try = [
'bestaudio[ext=m4a]/bestaudio[ext=webm]/bestaudio/best', # Избегаем HLS/m3u8 (ffmpeg периодически падает на сегментах)
'bestaudio[protocol!=m3u8][protocol!=m3u8_native][ext=m4a]/'
'bestaudio[protocol!=m3u8][protocol!=m3u8_native][ext=webm]/'
'bestaudio[protocol!=m3u8][protocol!=m3u8_native]/'
'bestaudio',
'bestaudio/best', 'bestaudio/best',
] ]