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

Parleys Support #1876

Closed
sirinath opened this issue Dec 3, 2013 · 5 comments
Closed

Parleys Support #1876

sirinath opened this issue Dec 3, 2013 · 5 comments

Comments

@mcepl
Copy link
Contributor

@mcepl mcepl commented Jul 23, 2014

Yeah, just to add verbose output:

matej@wycliff: ~$ youtube-dl --verbose 'http://www.parleys.com/play/5290a8f9e4b054cd7d2ef4c2/chapter0/about'
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.parleys.com/play/5290a8f9e4b054cd7d2ef4c2/chapter0/about']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.20.2
[debug] Python version 2.7.5 - Linux-3.10.0-123.el7.x86_64-x86_64-with-redhat-7.0-Maipo
[debug] Proxy map: {}
[generic] about: Requesting header
WARNING: Falling back on generic information extractor.
[generic] about: Downloading webpage
[generic] about: Extracting information
ERROR: Unsupported URL: http://www.parleys.com/play/5290a8f9e4b054cd7d2ef4c2/chapter0/about; 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/extractor/generic.py", line 456, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1411, in parse_xml
    return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: mismatched tag: line 59, column 2
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.parleys.com/play/5290a8f9e4b054cd7d2ef4c2/chapter0/about; 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.

matej@wycliff: ~$ 
@johnjohndoe
Copy link

@johnjohndoe johnjohndoe commented Aug 5, 2014

Another one:

youtube-dl https://www.parleys.com/play/528e806ae4b054cd7d2ef4a5/chapter0/about --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://www.parleys.com/play/528e806ae4b054cd7d2ef4a5/chapter0/about', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[generic] about: Requesting header
WARNING: Falling back on generic information extractor.
[generic] about: Downloading webpage
[generic] about: Extracting information
ERROR: Unsupported URL: https://www.parleys.com/play/528e806ae4b054cd7d2ef4a5/chapter0/about; 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/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 380, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: https://www.parleys.com/play/528e806ae4b054cd7d2ef4a5/chapter0/about; 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.
@johnjohndoe
Copy link

@johnjohndoe johnjohndoe commented Sep 25, 2014

Any progress here?

@naglis
Copy link
Collaborator

@naglis naglis commented Sep 26, 2014

Well, I took a look into it - the extraction is fairly easy. API endpoints:

Individual presentation:
https://api.parleys.com/api/presentation.json/<presentation_id>

Channel:
https://api.parleys.com/api/presentations.json/<channel_id>

Speaker:
https://api.parleys.com/api/presentations.json/speaker/<speaker_id>

However, most videos are split into parts (for example: https://www.parleys.com/play/5290a8f9e4b054cd7d2ef4c2), so we'll have to wait until #995 is merged and multi-part videos are supported.

Also, I've found that some videos use Youtube, for example:
https://parleys.com/play/530914a6e4b085f68c6b6516/about => http://www.youtube.com/watch?v=04OrkhLpVqA. Not sure if any other services are used like that.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 7, 2016

@remitamine remitamine closed this Sep 7, 2016
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
5 participants
You can’t perform that action at this time.