mirror of https://github.com/readrops/Readrops.git
Optimizing feed link parsing
This commit is contained in:
parent
adbbf2f2bd
commit
c5b068be17
|
@ -25,7 +25,7 @@ public final class HtmlParser {
|
||||||
public static List<ParsingResult> getFeedLink(String url) throws Exception {
|
public static List<ParsingResult> getFeedLink(String url) throws Exception {
|
||||||
List<ParsingResult> results = new ArrayList<>();
|
List<ParsingResult> results = new ArrayList<>();
|
||||||
|
|
||||||
Document document = Jsoup.connect(url).get();
|
Document document = Jsoup.parse(getHTMLHeadFromUrl(url));
|
||||||
|
|
||||||
Elements elements = document.select("link");
|
Elements elements = document.select("link");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue