diff options
author | trizen <trizen@protonmail.com> | 2020-08-08 11:37:26 +0300 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-08-14 14:47:29 -0500 |
commit | 678fa96e985669cb4db26d0ac06af6b3325ba2f4 (patch) | |
tree | 44dcac858d027a3627eebab452280a38fa0714f7 | |
parent | b2995e86425201f0a372b3e888b1985ab67b1e7c (diff) | |
download | fair-viewer-678fa96e985669cb4db26d0ac06af6b3325ba2f4.tar.lz fair-viewer-678fa96e985669cb4db26d0ac06af6b3325ba2f4.tar.xz fair-viewer-678fa96e985669cb4db26d0ac06af6b3325ba2f4.zip |
When the current API host is down, suggest `invidious.13ad.de` instead of `yewtu.be`.
Signed-off-by: Jesús <heckyel@hyperbola.info>
-rwxr-xr-x | bin/fair-viewer | 2 | ||||
-rwxr-xr-x | 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}; } |