Youtube-dl needs either pycrypto, or ffmpeg built with SSL support, to download from https sources. pycrypto is the much cleaner solution. Ref.: https://github.com/ytdl-org/youtube-dl/blob/6db03a29d139aa7594b24117b912b589c7683a96/youtube_dl/downloader/hls.py#L66
I guess you mean this: /usr/lib64/python2.7/site-packages/youtube_dl/downloader/hls.py: self.report_error('pycrypto not found. Please install it.') /usr/lib64/python3.6/site-packages/youtube_dl/downloader/hls.py: self.report_error('pycrypto not found. Please install it.') So then you install pycrypto, I guess. I could add that to the elog messages, I guess. Or do you think HTTPS is so important that it warrants the additional hard dependency?
(In reply to Jeroen Roovers from comment #1) > Or do you think HTTPS is so important that it warrants > the additional hard dependency? Considering that nearly everything is HTTPS these days, there's certainly a strong case for including it by default, in my opinion.
Fair point.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=785d68710367264f33e8b2bdd68934f61a7c9d5d commit 785d68710367264f33e8b2bdd68934f61a7c9d5d Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-03-14 12:58:51 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-03-14 12:59:32 +0000 net-misc/youtube-dl: RDEPEND on dev-python/pycryptodome Package-Manager: Portage-2.3.62, Repoman-2.3.12 Fixes: https://bugs.gentoo.org/680306 Signed-off-by: Jeroen Roovers <jer@gentoo.org> ...be-dl-2019.03.09.ebuild => youtube-dl-2019.03.09-r1.ebuild} | 10 +++++++--- net-misc/youtube-dl/youtube-dl-99999999.ebuild | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-)
Wouldn't it actually be enough to depend on dev-lang/python[ssl]?
It looks like pycryptodome is a newer replacement for pycrypto, and I just confirmed it works as intended with youtube-dl. Sorry, I'm not terribly familiar with Python. (In reply to Jeroen Roovers from comment #5) > Wouldn't it actually be enough to depend on dev-lang/python[ssl]? My Python is installed with +ssl, and I still had the problem described in OP, so it seems it's not enough.
OK, that settles it then. Thanks for testing.
*** Bug 715482 has been marked as a duplicate of this bug. ***