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.
Option to get non https urls only please? #2562
Comments
|
May I ask what's wrong with |
|
Piping to mplayer makes seeking impossible; named pipes would be Unfortunately i don't think mplayer would ever support https, there's Please, consider it again... 2014-03-14 23:12 GMT+01:00, Philipp Hagemeister notifications@github.com:
|
|
Closing as a duplicate of #2364. |
Hi, i develop a gui that plays youtube videos via mplayer and to do that, i rely on youtube-dl to get urls that i feed directly to mplayer.
Lately, more and more urls returned by youtube-dl are https ones.
That urls cannot be played by mplayer, since it lacks https support.
As a totally noob about python, i just tried that:
cp /path/to/youtube.py /path/to/youtube.py.bak
cat /path/to/youtube.py.bak | sed 's/https/http/' > /path/to/youtube.py
After that, every url returned by youtube-dl was "https free" and playable streams.
That makes me think that it would be possible for youtube-dl to return http urls; that's why i'm asking you to provide a way to do it without ugly sed hacks to the code :)
What do you think? Thanks for reading.