提交 608f9d83 编写于 作者: L liulei06

commit

上级 b6cbe3c8
......@@ -65,6 +65,7 @@ public class AutoRefreshService {
//2、 获取专栏中所有文章的li元素
Elements li_s = column_article_list.get(0).getElementsByTag("li");
//3、并行流处理,遍历获取文章url
allArticleUrl.clear();
li_s.parallelStream().forEach((li) -> {
String href = li.getElementsByTag("a").attr("href");
if (!href.isEmpty()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册