From a07c63963bf790497e00df881a3538174adc0efa Mon Sep 17 00:00:00 2001 From: Abdullah Al Adnan <130243149+adnanisagoodboy@users.noreply.github.com> Date: Fri, 16 Oct 2026 18:04:58 +0000 Subject: [PATCH] anipub provider base url updated from anipub.xyz to anipub.org --- README.md | 2 +- internal/providers/anipub/client.go | 2 +- internal/providers/anipub/megaplay_decrypt_test.go | 2 +- internal/providers/anipub/provider.go | 2 +- internal/providers/anipub/provider_test.go | 10 +++++----- internal/providers/anipub/register.go | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 66311e4..2aae26d 100644 --- a/README.md +++ b/README.md @@ -425,7 +425,7 @@ If the browser reaches the localhost callback page but curd does not continue au - [AniSkip API](https://api.aniskip.com/api-docs) - Get anime intro and outro timings - [AllAnime Content](https://allanime.to/) - Fetch anime url - [Senshi Project](https://senshi.to/) - Default provider with Vidcloud HLS streams and MAL-based catalog matching -- [AniPub](https://anipub.xyz/) - Fast JSON catalog APIs with MegaPlay HLS streams +- [AniPub](https://anipub.org/) - Fast JSON catalog APIs with MegaPlay HLS streams - [AniNeko Content](https://anineko.to/) - Alternative provider with soft/hard sub stream selection - [Animepahe Content](https://animepahe.pw/) - Alternative provider for 1080p streams - [Jikan](https://jikan.moe/) - Get filler episode number diff --git a/internal/providers/anipub/client.go b/internal/providers/anipub/client.go index 696dfd4..a3d6bf6 100644 --- a/internal/providers/anipub/client.go +++ b/internal/providers/anipub/client.go @@ -14,7 +14,7 @@ import ( const userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" var ( - baseURL = "https://anipub.xyz" + baseURL = "https://anipub.org" megaplayBaseURL = "https://megaplay.buzz" ) diff --git a/internal/providers/anipub/megaplay_decrypt_test.go b/internal/providers/anipub/megaplay_decrypt_test.go index 74e0b76..c0f42f3 100644 --- a/internal/providers/anipub/megaplay_decrypt_test.go +++ b/internal/providers/anipub/megaplay_decrypt_test.go @@ -54,7 +54,7 @@ func TestResolveMegaplayStreamFallsBackToEnc(t *testing.T) { t.Cleanup(func() { megaplayBaseURL = originalMega }) megaplayBaseURL = megaplay.URL - streamURL, _, err := resolveMegaplayStream("https://anipub.xyz/video/42/sub", "sub") + streamURL, _, err := resolveMegaplayStream("https://anipub.org/video/42/sub", "sub") if err != nil { t.Fatalf("resolveMegaplayStream: %v", err) } diff --git a/internal/providers/anipub/provider.go b/internal/providers/anipub/provider.go index 2ad0618..871a975 100644 --- a/internal/providers/anipub/provider.go +++ b/internal/providers/anipub/provider.go @@ -2,7 +2,7 @@ package anipub import "github.com/wraient/curd/internal/providers" -// Provider implements anipub.xyz catalog search and MegaPlay stream resolution. +// Provider implements anipub.org catalog search and MegaPlay stream resolution. type Provider struct{} func (p *Provider) Name() string { diff --git a/internal/providers/anipub/provider_test.go b/internal/providers/anipub/provider_test.go index 3f51e0a..f945a21 100644 --- a/internal/providers/anipub/provider_test.go +++ b/internal/providers/anipub/provider_test.go @@ -121,10 +121,10 @@ func TestEpisodesListCountsLocalEpisodes(t *testing.T) { } _ = json.NewEncoder(w).Encode(detailsResponse{ Local: localDetails{ - Link: "src=https://anipub.xyz/video/107257/sub", + Link: "src=https://anipub.org/video/107257/sub", Ep: []episodeLink{ - {Link: "src=https://anipub.xyz/video/107259/sub"}, - {Link: "src=https://anipub.xyz/video/107260/sub"}, + {Link: "src=https://anipub.org/video/107259/sub"}, + {Link: "src=https://anipub.org/video/107260/sub"}, }, }, }) @@ -178,7 +178,7 @@ func TestGetEpisodeStreamsForModeResolvesMegaplay(t *testing.T) { } _ = json.NewEncoder(w).Encode(detailsResponse{ Local: localDetails{ - Link: "src=https://anipub.xyz/video/107257/sub", + Link: "src=https://anipub.org/video/107257/sub", }, }) })) @@ -247,7 +247,7 @@ func TestResolveMegaplayStreamUsesDubMode(t *testing.T) { t.Cleanup(func() { megaplayBaseURL = originalMega }) megaplayBaseURL = megaplay.URL - streamURL, subtitle, err := resolveMegaplayStream("https://anipub.xyz/video/42/sub", "dub") + streamURL, subtitle, err := resolveMegaplayStream("https://anipub.org/video/42/sub", "dub") if err != nil { t.Fatalf("resolveMegaplayStream: %v", err) } diff --git a/internal/providers/anipub/register.go b/internal/providers/anipub/register.go index 19976f7..8c86a90 100644 --- a/internal/providers/anipub/register.go +++ b/internal/providers/anipub/register.go @@ -5,7 +5,7 @@ import "github.com/wraient/curd/internal/providers" func init() { providers.Register(providers.Meta{ Name: "anipub", - Aliases: []string{"anipub.xyz"}, + Aliases: []string{"anipub.org"}, Referrer: "https://megaplay.buzz/", }, func() providers.Provider { return &Provider{}