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:
@@ -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]");
|
||||
|
||||
Reference in New Issue
Block a user