Switching out toString returing a string JSON to toJSON that returns a JSONObject instead... and toString is not ment for this purpose

This commit is contained in:
2026-07-19 23:05:48 +02:00
parent 2defa32cb8
commit 4cd4367a19
13 changed files with 35 additions and 48 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ public class LyricsFetch {
@Test
public void testFetchLyrics() throws Exception {
Document doc = Jsoup.connect("https://genius.com/Neuro-sama-life-lyrics")
.userAgent("Mozilla/5.0")
Document doc = Jsoup.connect("https://genius.com/Ellie-minibot-same-moon-lyrics")
.userAgent("Mozilla/6.0")
.get();
Elements containers = doc.select("div[data-lyrics-container=true]");