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

New site support: http://www.cpac.ca/ #18148

Open
mcepl opened this issue Nov 10, 2018 · 2 comments
Open

New site support: http://www.cpac.ca/ #18148

mcepl opened this issue Nov 10, 2018 · 2 comments

Comments

@mcepl
Copy link
Contributor

@mcepl mcepl commented Nov 10, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.11.07

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

matej@stitny: ~$ youtube-dl --verbose http://www.cpac.ca/en/programs/cpac-special/episodes/64588192
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://www.cpac.ca/en/programs/cpac-special/episodes/64588192']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.11.07
[debug] Python version 2.7.15 (CPython) - Linux-4.18.15-1-default-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 64588192: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 64588192: Downloading webpage
[generic] 64588192: Extracting information
ERROR: Unsupported URL: http://www.cpac.ca/en/programs/cpac-special/episodes/64588192
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2324, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/bin/youtube-dl/youtube_dl/compat.py", line 2542, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/bin/youtube-dl/youtube_dl/compat.py", line 2531, in _XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 34, column 432
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3298, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.cpac.ca/en/programs/cpac-special/episodes/64588192

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

(originally filed as https://bugzilla.redhat.com/show_bug.cgi?id=1630323)

@ealgase
Copy link
Contributor

@ealgase ealgase commented Nov 21, 2018

Looks doable as the m3u8 files for the videos are somewhat easily accessible. I'll work on this over the next few days.

@ealgase ealgase mentioned this issue Nov 21, 2018
5 of 9 tasks complete
@MagicFab
Copy link

@MagicFab MagicFab commented Apr 28, 2020

Just tried this again today, it remains unsupported.

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.