From 286c75a6e0d810894bfee2c5c80b747c31f6f082 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 11 Feb 2024 04:07:46 -0800 Subject: refactor: remove wikipedia for rate-limit --- src/lib/Error/AnimeRateLimited.svelte | 2 +- src/lib/Error/RateLimited.svelte | 6 ++---- src/lib/Settings/Categories/Attributions.svelte | 1 - src/lib/Tools/EpisodeDiscussionCollector.svelte | 7 +------ 4 files changed, 4 insertions(+), 12 deletions(-) (limited to 'src/lib') diff --git a/src/lib/Error/AnimeRateLimited.svelte b/src/lib/Error/AnimeRateLimited.svelte index 073a3879..a6ab056d 100644 --- a/src/lib/Error/AnimeRateLimited.svelte +++ b/src/lib/Error/AnimeRateLimited.svelte @@ -5,7 +5,7 @@

- It is likely that you have been rate limited by AniList. Please try again later. + It is likely that you have been rate-limited by AniList. Please try again later. {#await fetch('https://api.waifu.pics/sfw/cry') then response} {#await response.json() then json} diff --git a/src/lib/Error/RateLimited.svelte b/src/lib/Error/RateLimited.svelte index bdddc3c0..2360a44a 100644 --- a/src/lib/Error/RateLimited.svelte +++ b/src/lib/Error/RateLimited.svelte @@ -12,8 +12,7 @@ {:else}

- {type} could not be loaded. You{might ? ' might' : ''} have been - rate limited. {#if !might} + {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} Try again in one minute. {/if}

diff --git a/src/lib/Settings/Categories/Attributions.svelte b/src/lib/Settings/Categories/Attributions.svelte index dad576e4..0b6bd263 100644 --- a/src/lib/Settings/Categories/Attributions.svelte +++ b/src/lib/Settings/Categories/Attributions.svelte @@ -52,7 +52,6 @@
  • MyAnimeList (if selected)
  • AnimeSchedule.net (if selected)
  • LiveChart.me (if selected)
  • -
  • Wikipedia (if rate-limited)
  • diff --git a/src/lib/Tools/EpisodeDiscussionCollector.svelte b/src/lib/Tools/EpisodeDiscussionCollector.svelte index cebea553..4e38161e 100644 --- a/src/lib/Tools/EpisodeDiscussionCollector.svelte +++ b/src/lib/Tools/EpisodeDiscussionCollector.svelte @@ -71,12 +71,7 @@ {/each} {:catch} -

    - Threads could not be loaded. You might have been rate limited. -

    +

    Threads could not be loaded. You might have been rate-limited.

    Try again in a few minutes. If the problem persists, please contact