refactor(HtmlParser.java): add back the text method

This commit is contained in:
LucasGGamerM
2025-04-19 11:22:26 -03:00
parent 40bfff6819
commit f87617b7ef

View File

@@ -371,4 +371,9 @@ public class HtmlParser{
domain=domain.substring(4);
return domain;
}
// MOSHIDON: thou shalt have *text*
public static String text(String html) {
return Jsoup.parse(html).body().wholeText();
}
}