Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kaimi-io/yandex-music-download.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/ya.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ya.pl b/src/ya.pl
index b0b0611..523e05b 100755
--- a/src/ya.pl
+++ b/src/ya.pl
@@ -630,6 +630,7 @@ sub get_track_url
$url = $json->{src};
}
+ $url = 'https:' . $url unless $url =~ /^https:/;
$request = $ua->get($url);
if(!$request->is_success)
{