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

Doesn't work with Pandora.tv #10374

Closed
whitesiroi opened this issue Aug 18, 2016 · 3 comments
Closed

Doesn't work with Pandora.tv #10374

whitesiroi opened this issue Aug 18, 2016 · 3 comments
Labels

Comments

@whitesiroi
Copy link

@whitesiroi whitesiroi commented Aug 18, 2016

I'm using the newest youtube-dl

youtube-dl --version
2016.08.17

When I try to run this command:

youtube-dl http://jp.channel.pandora.tv/channel/video.ptv?ch_userid=sbs-tv&prgid=53371620&categid=all&page=1&ref=ch&lot=cthum2_1_1

I'm getting this error:
ERROR: Invalid URL

Or with -v flag:

 [debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://jp.channel.pandora.tv/channel/video.ptv?ch_userid=sbs-tv']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.17
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8, ffprobe 2.8
[debug] Proxy map: {}
ERROR: Invalid URL
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, 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/pandoratv.py", line 43, in _real_extract
    raise ExtractorError('Invalid URL', expected=True)
ExtractorError: Invalid URL
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 18, 2016

You have to either put the URL into quotes or manually escape all the special shell characters. Read FAQ entry for details.

@dstftw dstftw closed this Aug 18, 2016
@dstftw dstftw added the invalid label Aug 18, 2016
@whitesiroi
Copy link
Author

@whitesiroi whitesiroi commented Aug 18, 2016

Thank you for your response.

I have tried with quotes too:

$ youtube-dl 'http://jp.channel.pandora.tv/channel/video.ptv?ch_userid=sbs-tv&prgid=53371620&categid=all&page=1&ref=ch&lot=cthum2_1_1'
[pandora.tv] 53371620: Downloading JSON metadata
ERROR: unable to download video data: IncompleteRead(0 bytes read)
$ youtube-dl "http://jp.channel.pandora.tv/channel/video.ptv?ch_userid=sbs-tv&prgid=53371620&categid=all&page=1&ref=ch&lot=cthum2_1_1"
[pandora.tv] 53371620: Downloading JSON metadata
ERROR: unable to download video data: IncompleteRead(0 bytes read)
@whitesiroi
Copy link
Author

@whitesiroi whitesiroi commented Aug 23, 2016

I updated to 2016.08.22 & it does work now. Thank you very much.

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.