From 31d3064c72d1e6c5e2ed97a517a421e4c1d6dbd8 Mon Sep 17 00:00:00 2001 From: trizen Date: Thu, 19 Nov 2020 15:53:33 +0200 Subject: `weeklyRatio` for invidious instances is no longer available. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jesús --- lib/WWW/FairViewer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/WWW/FairViewer.pm') diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm index 349d6a4..422a2a9 100644 --- a/lib/WWW/FairViewer.pm +++ b/lib/WWW/FairViewer.pm @@ -570,7 +570,7 @@ sub select_good_invidious_instances { my @candidates = grep { not $ignored{$_->[0]} } grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{dailyRatios}[0]{label} // '') eq 'success' } } - grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{weeklyRatio}{label} // '') eq 'success' } } + #~ grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{weeklyRatio}{label} // '') eq 'success' } } grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{statusClass} // '') eq 'success' } } #~ grep { $args{lax} ? 1 : !exists($_->[1]{stats}{error}) } grep { lc($_->[1]{type} // '') eq 'https' } @$instances; -- cgit v1.2.3