From ad6de6d94e30c73c24f20e457e4a3eb01e014a98 Mon Sep 17 00:00:00 2001 From: eleksir Date: Sun, 12 Apr 2020 14:31:15 +0300 Subject: [PATCH] joyproxy.pm: reactor has also img0 host --- lib/joyproxy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/joyproxy.pm b/lib/joyproxy.pm index 198cb81..acacab2 100644 --- a/lib/joyproxy.pm +++ b/lib/joyproxy.pm @@ -17,7 +17,7 @@ sub joyproxy ($) { my $str = shift; chomp($str); - return ('500', 'text/plain', 'This is not reactor video') if ($str !~ /^img1\.reactor\.cc/); + return ('500', 'text/plain', 'This is not reactor video') if ($str !~ /^img[0|1]\.reactor\.cc/); my ($file, $filesize) = __dlfunc("http://$str");