From ed3ffda40b426e2afbedab75e15eb87f0c99cd76 Mon Sep 17 00:00:00 2001 From: user706 <39215612+user706@users.noreply.github.com> Date: Sat, 29 Dec 2018 00:41:34 +0100 Subject: [PATCH] [libraryofcongress] test for national jukebox --- youtube_dl/extractor/libraryofcongress.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/youtube_dl/extractor/libraryofcongress.py b/youtube_dl/extractor/libraryofcongress.py index 85a75db46..b1de82a9d 100644 --- a/youtube_dl/extractor/libraryofcongress.py +++ b/youtube_dl/extractor/libraryofcongress.py @@ -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[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