summaryrefslogtreecommitdiff
path: root/get.pl
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-16 19:40:55 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-16 19:40:55 +0200
commitbf31f750535715b6ebb58932ed6b57dd3a4835a8 (patch)
tree62fac9146ccd1173b55f819a8ae9097e7371d9f3 /get.pl
parent41355cab9024b10dbf645702ecd9dfb8fed7d905 (diff)
get
Diffstat (limited to 'get.pl')
-rwxr-xr-xget.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/get.pl b/get.pl
index dfa6c98..d73952f 100755
--- a/get.pl
+++ b/get.pl
@@ -71,7 +71,8 @@ else {
foreach $part (@partz) {
print "$part\n";
if ($part =~ /\[download\] Destination\: (.*)\r?$/) {
- $video_fn = chomp $1;
+ $video_fn = $1;
+ chomp $video_fn;
print ">>> $video_fn\n";
}
if ($part =~ /\[download\] (.*) has already been downloaded/) {