add - qq自定义
This commit is contained in:
@@ -352,6 +352,8 @@ public class PushAgent extends Spider {
|
|||||||
String str;
|
String str;
|
||||||
try {
|
try {
|
||||||
String url = list.get(0).trim();
|
String url = list.get(0).trim();
|
||||||
|
String[] idInfo = url.split("\\$\\$\\$");
|
||||||
|
if (idInfo.length > 1) url = idInfo[0].trim();
|
||||||
Pattern pattern = Folder;
|
Pattern pattern = Folder;
|
||||||
Matcher matcher = pattern.matcher(url);
|
Matcher matcher = pattern.matcher(url);
|
||||||
if (!matcher.find()) {
|
if (!matcher.find()) {
|
||||||
@@ -451,7 +453,7 @@ public class PushAgent extends Spider {
|
|||||||
@Override
|
@Override
|
||||||
public String detailContent(List<String> list) {
|
public String detailContent(List<String> list) {
|
||||||
try {
|
try {
|
||||||
String url = list.get(0);
|
String url = list.get(0).trim();
|
||||||
String[] idInfo = url.split("\\$\\$\\$");
|
String[] idInfo = url.split("\\$\\$\\$");
|
||||||
if (idInfo.length > 1) url = idInfo[0].trim();
|
if (idInfo.length > 1) url = idInfo[0].trim();
|
||||||
String pic = null;
|
String pic = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user