diff options
| author | Ben Busby <contact@benbusby.com> | 2023-07-11 11:27:45 -0600 |
|---|---|---|
| committer | Ben Busby <contact@benbusby.com> | 2023-07-11 11:27:45 -0600 |
| commit | dcc4a9f4b1fb2eca5239990a8011a5af27f1593c (patch) | |
| tree | 65a070ceb4885f0683ab002e121c67412b68b87b | |
| parent | 2200cabaef4d42cc1ec1d277d70915255a5dbf00 (diff) | |
| download | farside-dcc4a9f4b1fb2eca5239990a8011a5af27f1593c.tar.gz | |
Mark redirecting instances as inacessible
Too many instances redirect to either non-functional or spam sites. The
new behavior is to only allow 200-300 responses to mark an instance as
accessible.
| -rw-r--r-- | lib/farside/instances.ex | 2 | ||||
| -rw-r--r-- | services-full.json | 1 | ||||
| -rw-r--r-- | services.json | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/lib/farside/instances.ex b/lib/farside/instances.ex index 7b743a9..279d48a 100644 --- a/lib/farside/instances.ex +++ b/lib/farside/instances.ex @@ -29,7 +29,7 @@ defmodule Farside.Instances do |> then(&elem(&1, 1)) |> Map.get(:status_code) |> case do - n when n < 400 -> + n when n < 300 -> IO.puts("#{@debug_spacer}✓ [#{n}]") :good diff --git a/services-full.json b/services-full.json index 3edae4d..0f2590f 100644 --- a/services-full.json +++ b/services-full.json @@ -178,7 +178,6 @@ "https://twat.marsey.cat", "https://twitter.censors.us", "https://nitter.grimneko.de", - "https://twitter.076.ne.jp", "https://nitter.sethforprivacy.com", "https://nitter.bus-hit.me", "https://n.l5.ca", diff --git a/services.json b/services.json index ca8b2b1..34d43e4 100644 --- a/services.json +++ b/services.json @@ -152,7 +152,6 @@ "https://nitter.it", "https://twitter.censors.us", "https://nitter.grimneko.de", - "https://twitter.076.ne.jp", "https://nitter.sethforprivacy.com", "https://nitter.bus-hit.me", "https://n.l5.ca", |
