Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Download from Library of Congress #3188
Comments
|
Library of Congress is supported since youtube-dl 2016.06.03. |
I'm trying to get http://www.loc.gov/item/90716351/ , for which there seems to be no option to download. I've tried that and
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.loc.gov/item/90716351/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.26
[debug] Python version 2.7.7 - Linux-3.14-1-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[generic] 90716351: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 90716351: Downloading webpage
[generic] 90716351: Extracting information
ERROR: Unsupported URL: http://www.loc.gov/item/90716351/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/home2/prosfilaes/bin/bin/youtube-dl/youtube_dl/extractor/generic.py", line 451, in _real_extract
doc = parse_xml(webpage)
File "/home2/prosfilaes/bin/bin/youtube-dl/youtube_dl/utils.py", line 1406, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 331, column 2
Traceback (most recent call last):
File "/home2/prosfilaes/bin/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/home2/prosfilaes/bin/bin/youtube-dl/youtube_dl/extractor/common.py", line 167, in extract
return self._real_extract(url)
File "/home2/prosfilaes/bin/bin/youtube-dl/youtube_dl/extractor/generic.py", line 741, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.loc.gov/item/90716351/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
The following seems to be the chunk of code that implements the video.
<script type="text/javascript" src='http://media.loc.gov/loader/js/media.js'/>
</script>
}