From 7bba0e50f5fd74a955c257c0547001d952d18273 Mon Sep 17 00:00:00 2001 From: JMcrafter26 <77780772+JMcrafter26@users.noreply.github.com> Date: Thu, 29 Jan 2026 22:51:42 +0100 Subject: [PATCH] refactor: Remove commented-out HTML parsing code --- s.to/sToEngDub_v2.js | 102 ++----------------------------------------- s.to/sToGerDub_v2.js | 100 +----------------------------------------- 2 files changed, 5 insertions(+), 197 deletions(-) diff --git a/s.to/sToEngDub_v2.js b/s.to/sToEngDub_v2.js index 3d6bef3..ef373be 100644 --- a/s.to/sToEngDub_v2.js +++ b/s.to/sToEngDub_v2.js @@ -9,50 +9,6 @@ async function searchResults(keyword) { const response = await soraFetch(searchApiUrl); const text = response.text ? await response.text() : await response; - // parse html - /*
- ... - */ const searchRegex = /]*>([\s\S]*?)<\//g; const results = []; let match; @@ -95,15 +51,6 @@ async function extractDetails(url) { const airdateMatch = yearMatch ? `${yearMatch[1]}` : 'Unknown Year'; - // get genres - /*