mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[libraryofcongress] test for national jukebox
This commit is contained in:
parent
40e2cbd86c
commit
ed3ffda40b
@ -18,6 +18,15 @@ class LibraryOfCongressIE(InfoExtractor):
|
||||
IE_DESC = 'Library of Congress'
|
||||
_VALID_URL = r'https?://(?:www\.)?loc\.gov/(?:item/|jukebox/recordings/detail/id/|today/cyberlc/feature_wdesc\.php\?.*\brec=)(?P<id>[0-9a-z_.]+)'
|
||||
_TESTS = [{
|
||||
# national jukebox
|
||||
'url': 'https://www.loc.gov/jukebox/recordings/detail/id/824',
|
||||
'md5': '0263fed2c1cd62d733037c20c81e9e0e',
|
||||
'info_dict': {
|
||||
'id': '824',
|
||||
'ext': 'mp3',
|
||||
'title': 'Bring back my Bonnie to me'
|
||||
},
|
||||
}, {
|
||||
# embedded via <div class="media-player"
|
||||
'url': 'http://loc.gov/item/90716351/',
|
||||
'md5': '6ec0ae8f07f86731b1b2ff70f046210a',
|
||||
|
Loading…
Reference in New Issue
Block a user