From 678fa96e985669cb4db26d0ac06af6b3325ba2f4 Mon Sep 17 00:00:00 2001 From: trizen Date: Sat, 8 Aug 2020 11:37:26 +0300 Subject: When the current API host is down, suggest `invidious.13ad.de` instead of `yewtu.be`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jesús --- bin/fair-viewer | 2 +- bin/gtk-fair-viewer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/fair-viewer b/bin/fair-viewer index 7c9478c..c24c851 100755 --- a/bin/fair-viewer +++ b/bin/fair-viewer @@ -3599,7 +3599,7 @@ sub print_videos { if (ref($videos) ne 'ARRAY') { say "\n:: Probably ", $yv_obj->get_api_host, " is down. Try:"; - say "\n\t$0 --api=yewtu.be\n"; + say "\n\t$0 --api=invidious.13ad.de\n"; say "See also: https://libregit.org/heckyel/fair-viewer#invidious-instances"; return; } diff --git a/bin/gtk-fair-viewer b/bin/gtk-fair-viewer index 14177fe..99ef3bc 100755 --- a/bin/gtk-fair-viewer +++ b/bin/gtk-fair-viewer @@ -2535,7 +2535,7 @@ sub display_results { die "Probably " . $yv_obj->get_api_host() . " is down.\n" . "\nTry changing the `api_host` in configuration file:\n\n" - . qq{\tapi_host => "yewtu.be",\n} + . qq{\tapi_host => "invidious.13ad.de",\n} . qq{\nSee also: https://libregit.org/heckyel/fair-viewer#invidious-instances\n}; } -- cgit v1.2.3