summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-16 19:34:54 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-16 19:34:54 +0200
commit41355cab9024b10dbf645702ecd9dfb8fed7d905 (patch)
tree5862711e38d57e9d46e75ea2b1ecd52842825cc9
parent9a9e5fb7bffb0ca2512ac2ccb1031edd478a0a02 (diff)
get
-rwxr-xr-xget.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/get.pl b/get.pl
index 2713fe2..dfa6c98 100755
--- a/get.pl
+++ b/get.pl
@@ -70,7 +70,7 @@ else {
my @partz = split("\n", $yt);
foreach $part (@partz) {
print "$part\n";
- if ($part =~ /\[download\] Destination\: (.*)\n?$/) {
+ if ($part =~ /\[download\] Destination\: (.*)\r?$/) {
$video_fn = chomp $1;
print ">>> $video_fn\n";
}