Clean code
This commit is contained in:
parent
e6715ef693
commit
fb7eab9394
|
|
@ -186,18 +186,19 @@ public class Xb6v extends Spider {
|
|||
.replaceAll("&", "")
|
||||
.replaceAll("middot;", "・")
|
||||
.replaceAll(" ", ",")
|
||||
.replaceAll(" ", ",");
|
||||
.replaceAll(" ", ",")
|
||||
.replaceAll(" ", "");
|
||||
}
|
||||
|
||||
private String getDescription(Pattern pattern, String str) {
|
||||
return getStrByRegex(pattern, str)
|
||||
.replaceAll("</?[^>]+>", "")
|
||||
.replaceAll("\n", "")
|
||||
.replaceAll(" ", "")
|
||||
.replaceAll("&", "")
|
||||
.replaceAll("middot;", "・")
|
||||
.replaceAll("ldquo;", "【")
|
||||
.replaceAll("rdquo;", "】");
|
||||
.replaceAll("rdquo;", "】")
|
||||
.replaceAll(" ", "");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
a4a22ad4042d5ff3444ed4b66f41a3a4
|
||||
aa238f375f2bb1161db6d60835f44692
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a4a22ad4042d5ff3444ed4b66f41a3a4",
|
||||
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;aa238f375f2bb1161db6d60835f44692",
|
||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a4a22ad4042d5ff3444ed4b66f41a3a4",
|
||||
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;aa238f375f2bb1161db6d60835f44692",
|
||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue