subtitle/youtube.lua: Use HTTPS if input URL uses it
commitc58c7b547f90b3db0af29673d2d828263a52548e
authorToni Gundogdu <legatvs@gmail.com>
Wed, 11 Sep 2013 16:29:50 +0000 (11 19:29 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Thu, 12 Sep 2013 13:53:50 +0000 (12 16:53 +0300)
tree0470054f8e11bf57ff108b2529f42b022dc315fd
parent18068fe7063e808f6a6d698e36e360c7c6156e07
subtitle/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 subtitle queries over the HTTP even if
the input URL was given as an HTTPS URL.

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

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