Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I have an issue with [Vice] not working for https, [youtube] does. #8559
Comments
|
Could you post the output of the following command:
|
|
For me it works with Python 2.7.11 but fails in Python 2.6.9. I guess it's the same problem as #5366 (comment) (not checked yet). Could you try again Python 3 or Python 2.7.9+? |
|
For me it fails with 2.6.6, 3.3.4 and works with 2.7.10, 3.4.3. |
|
So, I guess I can confirm it fails in 2.7.3
FWIW:
|
|
Confirmed www.vice.com requires SNI (Server Name Indication). To have SNI support in Python, you need both:
To check whether SNI is available in current Python:
To check whether a website requires SNI or not:
If the first command fails while the second is OK, this site require SNI. For this video, as www.vice.com supports non-HTTPS URLs, so you can download it with:
Or upgrade/rebuild your Python. There's nothing youtube-dl can do as SNI is a C-level API and we can't implement it in pure Python. |
Not sure how widespread this is, but youtube works with htpps.
Full output...