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

NYTimes Opinion Video ParseError/ExtractorError #2846

Closed
jps3 opened this issue May 1, 2014 · 3 comments
Closed

NYTimes Opinion Video ParseError/ExtractorError #2846

jps3 opened this issue May 1, 2014 · 3 comments
Assignees

Comments

@jps3
Copy link

@jps3 jps3 commented May 1, 2014

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', 'http://www.nytimes.com/video/opinion/100000002847155/verbatim-what-is-a-photocopier.html?src=vidm', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out None, pref UTF-8
[debug] youtube-dl version 2014.04.30
[debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] Proxy map: {'http': 'http://127.0.0.1:8228', u'https': 'http://127.0.0.1:8228'}
[generic] verbatim-what-is-a-photocopier: Requesting header
WARNING: Falling back on generic information extractor.
[generic] verbatim-what-is-a-photocopier: Downloading webpage
[generic] verbatim-what-is-a-photocopier: Extracting information
ERROR: Unsupported URL: http://www.nytimes.com/video/opinion/100000002847155/verbatim-what-is-a-photocopier.html?src=vidm; 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/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 421, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1392, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1282, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1624, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1488, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 1, column 8993
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 514, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 683, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.nytimes.com/video/opinion/100000002847155/verbatim-what-is-a-photocopier.html?src=vidm; 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.

@dstftw dstftw self-assigned this May 2, 2014
@dstftw dstftw closed this in d664de4 May 2, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 2, 2014

Thanks for the report. Support for nytimes.com has been added and will be available in the next release of youtube-dl.

@jps3
Copy link
Author

@jps3 jps3 commented May 2, 2014

Awesome! Hope it was an easy change. youtube-dl is fantastic. Thank you.

@phihag
Copy link
Contributor

@phihag phihag commented May 5, 2014

Support for nytimes.com has been incorporated into youtube-dl 2014.05.05. Type sudo youtube-dl -U to update.

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
3 participants
You can’t perform that action at this time.