fix4
This commit is contained in:
parent
990444601d
commit
4fb33befcf
1 changed files with 5 additions and 1 deletions
|
|
@ -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',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue