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

Site request: cwtvpr.com #10196

Closed
4 tasks done
SeanPM5 opened this issue Jul 30, 2016 · 0 comments
Closed
4 tasks done

Site request: cwtvpr.com #10196

SeanPM5 opened this issue Jul 30, 2016 · 0 comments

Comments

@SeanPM5
Copy link

SeanPM5 commented Jul 30, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.07.30
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Site support request (request for adding support for a new site)

Description of your issue, suggested solution and other information

Please add support for the website cwtvpr.com - it uses the same exact video player and everything else as cwtv.com and cwseed.com which are both already supported by youtube-dl.

I think the CWTV extractor (line 12) just needs to be updated to include the cwtvpr.com domain as a valid URL and it should work.

Full verbose output

at the moment it is trying to use the generic extractor and failing.

iMac:Desktop Sean$ youtube-dl -v http://cwtvpr.com/the-cw/video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://cwtvpr.com/the-cw/video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.30
[debug] Python version 2.7.12 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e: Downloading webpage
[generic] video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e: Extracting information
ERROR: Unsupported URL: http://cwtvpr.com/the-cw/video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1610, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2525, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2514, in _XML
    parser.feed(text)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 682, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2336, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://cwtvpr.com/the-cw/video?watch=9eee3f60-ef4e-440b-b3b2-49428ac9c54e
...
<end of log>

Example URLs:

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

No branches or pull requests

2 participants