add - PushAgent XBiubiu

This commit is contained in:
yangqiang3504
2022-08-19 16:15:40 +08:00
parent 6a1a08a4f7
commit b283fb5404
2 changed files with 17 additions and 9 deletions
@@ -191,7 +191,7 @@ public class XBiubiu extends Spider {
String link = subContent(lastParseContents.get(j), getRuleVal("bflianjieqian"), getRuleVal("bflianjiehou")).get(0);
vodItems.add(title + "$" + link);
}
playList.add(TextUtils.join("#", vodItems));
playList.add(0, TextUtils.join("#", vodItems));
} catch (Throwable th) {
th.printStackTrace();
break;
@@ -244,6 +244,7 @@ public class XBiubiu extends Spider {
if (!getRuleVal("juqingqian").isEmpty() && !getRuleVal("juqinghou").isEmpty()) {
try {
desc = subContent(html, getRuleVal("juqingqian"), getRuleVal("juqinghou")).get(0);
if(desc!=null)desc = desc.replaceAll(".*>(.*)", "$1");
} catch (Exception e) {
SpiderDebug.log(e);
}