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

Add support for peer-stream.com #4586

Open
treaki opened this issue Dec 28, 2014 · 0 comments
Open

Add support for peer-stream.com #4586

treaki opened this issue Dec 28, 2014 · 0 comments

Comments

@treaki
Copy link

@treaki treaki commented Dec 28, 2014

Hi,

could you add support for peer-stream.com so it is possible to use it without adobe flash.

$ youtube-dl "http://peer-stream.com/api/embedplayer.php?controlbar=none&width=100%25&height=100%25&prog=onlinetv&groupspec=G:0101010c050e3373617400"
[generic] embedplayer: Requesting header
WARNING: Falling back on generic information extractor.
[generic] embedplayer: Downloading webpage
[generic] embedplayer: Extracting information
ERROR: Unsupported URL: http://peer-stream.com/api/embedplayer.php?controlbar=none&width=100%25&height=100%25&prog=onlinetv&groupspec=G:0101010c050e3373617400; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
treaki@treakis-tp:/tmp$ youtube-dl --verbose "http://peer-stream.com/api/embedplayer.php?controlbar=none&width=100%25&height=100%25&prog=onlinetv&groupspec=G:0101010c050e3373617400"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://peer-stream.com/api/embedplayer.php?controlbar=none&width=100%25&height=100%25&prog=onlinetv&groupspec=G:0101010c050e3373617400']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.8 - Linux-3.16-3-amd64-x86_64-with-debian-jessie-sid
[debug] exe versions: avconv 2.4.3, avprobe 2.4.3, ffmpeg 2.4.3, ffprobe 2.4.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] embedplayer: Requesting header
WARNING: Falling back on generic information extractor.
[generic] embedplayer: Downloading webpage
[generic] embedplayer: Extracting information
ERROR: Unsupported URL: http://peer-stream.com/api/embedplayer.php?controlbar=none&width=100%25&height=100%25&prog=onlinetv&groupspec=G:0101010c050e3373617400; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 660, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1444, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 12, column 91
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 243, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1060, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://peer-stream.com/api/embedplayer.php?controlbar=none&width=100%25&height=100%25&prog=onlinetv&groupspec=G:0101010c050e3373617400; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

$ 

Thanks a lot and keep up the good work

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