playlist/youtube.lua: Use HTTPS if input URL uses it
commit18068fe7063e808f6a6d698e36e360c7c6156e07
authorToni Gundogdu <legatvs@gmail.com>
Wed, 11 Sep 2013 16:02:05 +0000 (11 19:02 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Thu, 12 Sep 2013 13:53:49 +0000 (12 16:53 +0300)
tree99b0f67d78fa7c81774e0671b31a0ff8f21e6b37
parente6a65873e0931f98d3a769f7f805522d729f87a4
playlist/youtube.lua: Use HTTPS if input URL uses it

Use HTTPS throughout the operation if the input URL is an HTTPS URL.
The script previously made the playlist queries over the HTTP even if
the input URL was given as an HTTPS URL.

Other:
* Return the media URLs using the input URL scheme

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
share/playlist/youtube.lua