From 380f1f03f893bebac431b2714efc2c94bd63a04f Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 5 Apr 2020 18:57:24 +0530 Subject: [PATCH] Put URL when skipping a file --- src/muse-dl.cr | 2 +- src/parser.cr | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/muse-dl.cr b/src/muse-dl.cr index d23c30b..2769516 100644 --- a/src/muse-dl.cr +++ b/src/muse-dl.cr @@ -24,7 +24,7 @@ module Muse::Dl # If file exists and we can't clobber if File.exists?(parser.output) && parser.clobber == false - STDERR.puts "File already exists: #{parser.output}" + STDERR.puts "Skipping #{url}, File already exists: #{parser.output}" return end temp_stitched_file = nil diff --git a/src/parser.cr b/src/parser.cr index 1c0688b..7d96581 100644 --- a/src/parser.cr +++ b/src/parser.cr @@ -47,7 +47,6 @@ module Muse::Dl URL: A link to a book on the Project MUSE website, eg https://muse.jhu.edu/book/875 INPUT_FILE: Path to a file containing a list of links - This is muse-dl version #{Muse::Dl::VERSION} EOT