mirror of
https://github.com/readrops/Readrops.git
synced 2025-01-23 07:21:52 +01:00
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 {
|
||||
List<ParsingResult> results = new ArrayList<>();
|
||||
|
||||
Document document = Jsoup.connect(url).get();
|
||||
Document document = Jsoup.parse(getHTMLHeadFromUrl(url));
|
||||
|
||||
Elements elements = document.select("link");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user