On Thu, 03 Mar 2016 14:31:50 -0800 Matt Taggart <tagg...@debian.org> wrote:
Rogério Brito writes:
> I don't know. Things work perfectly fine for me:
>
> ----
> youtube-dl https://player.vimeo.com/video/156377457
> [vimeo] 156377457: Downloading webpage
> [vimeo] 156377457: Extracting information
> [vimeo] 156377457: Downloading JSON metadata
> [vimeo] 156377457: Downloading m3u8 information
> [download] Destination: Saving_Midtown_-_San_Francisco_Renters_on_Strike-1563
> 77457.mp4
> [download] 3.5% of 392.61MiB at 2.43MiB/s ETA 02:35^C
> ERROR: Interrupted by user
> ----
>
> On the other hand, the error that you're seeing is *very* similar to the
> error that some people have reported on a project of which I am upstream
> (coursera-dl).
>
> What version of Python are you using? I suspect that if you are using the
> package from unstable on an earlier release, with Python 2.7.x with x < 9,
> then that may be related with the bug that I'm seeing upstream.

Yes I installed the unstable youtube-dl on jessie.

> If not, then I sincerely don't know. I plan on moving youtube-dl to Python
> 3 on my next upload and if I recall correctly, the SSL stuff in Python >=
> 3.4 works well (and was backported to late versions of Python 2.7).

It would be nice to have a jessie backport (and maybe jessie update as has
been done in the past) that works, even if the backport requires a little
tweaking to the source package to make it work.

Thanks,

--
Matt Taggart
tagg...@debian.org

I have this issue as well, on debian sid, with youtube download 2016.02.22-1.
This happens for both vimeo and youtube ssl links.
-----
~ -> youtube-dl -v  https://player.vimeo.com/video/156377457
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://player.vimeo.com/video/156377457']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.11+ - 
Linux-4.6.0-rc3-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.0.1-3, ffprobe 3.0.1-3, rtmpdump 2.4
[debug] Proxy map: {}
[vimeo] 156377457: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: 
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))
 File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 
355, in _request_webpage
   return self._downloader.urlopen(url_or_request)
 File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1905, in 
urlopen
   return self._opener.open(req, timeout=self._socket_timeout)
 File "/usr/lib/python2.7/urllib2.py", line 429, in open
   response = self._open(req, data)
 File "/usr/lib/python2.7/urllib2.py", line 447, in _open
   '_open', req)
 File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
   result = func(*args)
 File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 831, in 
https_open
   req, **kwargs)
 File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
   raise URLError(err)
-----

As soon as I use `--no-check-certificate`, or add it to `~/.config/youtube-dl`, 
things start working.

-demure

Reply via email to