[ie/crunchyroll] Don't use 'default' as the default stream format key

It's incompatible with the hardsub code
pull/9867/head
Oliver Hattshire 1 month ago
parent 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'])):

Loading…
Cancel
Save