🏡 index : github.com/captn3m0/muse-dl.git

author Nemo <me@captnemo.in> 2020-07-01 18:26:48.0 +05:30:00
committer Nemo <me@captnemo.in> 2020-07-01 18:26:48.0 +05:30:00
commit
a05a1253db7cae57146a34ff451700f6275189cf [patch]
tree
f7fa424eadf86714762666ab3cb55641932c251f
parent
03fccde754606a5d520e9bba6d215c7450898cd4
download
a05a1253db7cae57146a34ff451700f6275189cf.tar.gz

Keep going with next issue



Diff

 src/muse-dl.cr | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/muse-dl.cr b/src/muse-dl.cr
index 19693a8..93ccced 100644
--- a/src/muse-dl.cr
+++ a/src/muse-dl.cr
@@ -115,10 +115,15 @@
        end
      elsif thing.is_a? Muse::Dl::Journal
        thing.issues.each do |issue|
          # Update the issue
          issue.parse
          parser.url = issue.url
          Main.dl parser
          begin
            # Update the issue
            issue.parse
            parser.url = issue.url
            Main.dl parser
          rescue e
            puts e.message
            puts "Faced an exception with previous issue, continuing"
          end
        end
      end
    end