kopia lustrzana https://github.com/yt-dlp/yt-dlp
[ie/crunchyroll] Don't use 'default' as the default stream format key
It's incompatible with the hardsub codepull/9867/head
rodzic
1657011c9b
commit
5ed8cd7b11
|
@ -197,7 +197,7 @@ class CrunchyrollBaseIE(InfoExtractor):
|
|||
available_formats[f'audio_{locale}'] = (f'audio-{locale}', '', locale, stream_variants[locale]['url'])
|
||||
|
||||
if not stream_variants:
|
||||
available_formats['default'] = ('default', '', default_audio_locale, stream_response)
|
||||
available_formats[''] = ('', '', default_audio_locale, stream_response['url'])
|
||||
|
||||
|
||||
for hardsub_lang, stream in traverse_obj(stream_response, ('hardSubs', {dict.items}, lambda _, v: v[1]['url'])):
|
||||
|
|
Ładowanie…
Reference in New Issue