Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c-span some videos not working #2577

Closed
spvkgn opened this issue Mar 17, 2014 · 3 comments
Closed

c-span some videos not working #2577

spvkgn opened this issue Mar 17, 2014 · 3 comments
Labels
bug

Comments

@spvkgn
Copy link

@spvkgn spvkgn commented Mar 17, 2014

Some c-span videos not working, maybe it depends on URL

youtube-dl -v http://www.c-span.org/video/?c4487300/15-mar-2014-samantha-power-ukraine
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.c-span.org/video/?c4487300/15-mar-2014-samantha-power-ukraine']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.17
[debug] Python version 2.7.3 - Linux-3.2.0-39-generic-i686-with-LinuxMint-13-maya
[debug] Proxy map: {}
[generic] 15-mar-2014-samantha-power-ukraine: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 15-mar-2014-samantha-power-ukraine: Downloading webpage
[generic] 15-mar-2014-samantha-power-ukraine: Extracting information
ERROR: Unsupported URL: http://www.c-span.org/video/?c4487300/15-mar-2014-samantha-power-ukraine; 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 "/home/pavel/apps/bin/youtube-dl/youtube_dl/extractor/generic.py", line 303, in _real_extract
    doc = parse_xml(webpage)
  File "/home/pavel/apps/bin/youtube-dl/youtube_dl/utils.py", line 1281, in parse_xml
    return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
ParseError: mismatched tag: line 54, column 2
Traceback (most recent call last):
  File "/home/pavel/apps/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 504, in extract_info
    ie_result = ie.extract(url)
  File "/home/pavel/apps/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
    return self._real_extract(url)
  File "/home/pavel/apps/bin/youtube-dl/youtube_dl/extractor/generic.py", line 511, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.c-span.org/video/?c4487300/15-mar-2014-samantha-power-ukraine; 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.
@spvkgn spvkgn changed the title c-span some videos not works c-span some videos not working Mar 17, 2014
@jaimeMF jaimeMF added the bug label Mar 17, 2014
@friedretinas
Copy link

@friedretinas friedretinas commented Mar 21, 2014

It's not working w/ CSPAN for me either.

python3 /usr/bin/youtube-dl -v http://www.c-span.org/video/?c4486943/cspan-international-health-care-models
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.c-span.org/video/?c4486943/cspan-international-health-care-models']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.21.1
[debug] Python version 3.3.1 - Linux-3.8.0-35-generic-x86_64-with-Peppermint-4-raring
[debug] Proxy map: {}
[generic] cspan-international-health-care-models: Requesting header
WARNING: Falling back on generic information extractor.
[generic] cspan-international-health-care-models: Downloading webpage
[generic] cspan-international-health-care-models: Extracting information
ERROR: Unsupported URL: http://www.c-span.org/video/?c4486943/cspan-international-health-care-models; 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 "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 506, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 535, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: http://www.c-span.org/video/?c4486943/cspan-international-health-care-models; 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.

@phihag phihag closed this in 11a15be Mar 21, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 21, 2014

Thank you for the report. Support for these new-style C-SPAN videos has been added in youtube-dl 2014.03.21.3. Type youtube-dl -U to update.

@friedretinas
Copy link

@friedretinas friedretinas commented Mar 21, 2014

Thanks very much for the fix. Apparently you were fixing it at about the same time that I was adding my comment about it not working. Updated to 2014.03.21.3, then reattempted to D/L that same C-SPAN video; worked perfectly this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.