From ab884292d1b9deea5d4e1e5a1299a393f36f3fbd Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Fri, 1 May 2026 11:44:06 -0700 Subject: [PATCH] Hide Beatport tab temporarily MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Beatport added Cloudflare Turnstile to every public page on beatport.com. The unified scraper now receives bot-challenge HTML instead of real content, so all /api/beatport/* endpoints return 500 with "Could not fetch Beatport homepage". The official Beatport v4 API is locked behind OAuth application registration that isn't open to the public — confirmed via the docs at api.beatport.com/v4/docs and community projects (beets-beatport4). The public docs SPA client_id only accepts browser-based flows (post-message redirect URI), which can't be driven server-side. Hide the Beatport tab on the Sync page so users stop hitting the broken endpoints. Backend routes and beatport_unified_scraper.py stay in code — revival is a one-attribute HTML change once Cloudflare relaxes or a workaround is found. Reported via the homepage 500 spam in user logs. --- webui/index.html | 7 ++++++- webui/static/helper.js | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/webui/index.html b/webui/index.html index 4652f7e6..3f8832d5 100644 --- a/webui/index.html +++ b/webui/index.html @@ -874,7 +874,12 @@ -