Add test for format 50 (mp3), with royalty free music

This commit is contained in:
Wyoh Knott 2024-05-11 21:37:58 +02:00
parent 9f872145fe
commit 935d817150
1 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,13 @@ class GoogleDriveIE(InfoExtractor):
}, {
'url': 'https://drive.usercontent.google.com/download?id=0ByeS4oOUV-49Zzh4R1J6R09zazQ',
'only_matching': True,
}, {
# mp3 (format 50) tests
# Royalty Free music from 1922
# My Buddy by Henry Burr; Gus Kahn; Walter Donaldson
# https://archive.org/details/78_my-buddy_henry-burr-gus-kahn-walter-donaldson_gbia0015627a/My+Buddy+-+Henry+Burr+-+Gus+Kahn+-+Walter+Donaldson.flac
'url': 'https://drive.usercontent.google.com/download?id=1IP0o8dHcQrIHGgVyp0Ofvx2cGfLzyO1x',
'only_matching': True,
}]
_FORMATS_EXT = {
**{k: v['ext'] for k, v in YoutubeIE._formats.items() if v.get('ext')},