From a902ef7e5dafdd4307256aaa5333ead5832035ed Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Wed, 7 Apr 2021 23:40:24 +0200 Subject: [PATCH] Maybe not be a redirect in animeflv.cc --- lib/Peertube/DL/Downloaders.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Peertube/DL/Downloaders.pm b/lib/Peertube/DL/Downloaders.pm index 40a8b83..e2c46f8 100644 --- a/lib/Peertube/DL/Downloaders.pm +++ b/lib/Peertube/DL/Downloaders.pm @@ -298,7 +298,10 @@ sub animeid { filename => $filename, }; } else { - die 'Getting redirect failed because: ' . $video_response->status_line; + return { + url => $download_redirect_url, + filename => $filename, + } } } 1;