Fix ali video url push
This commit is contained in:
parent
6353741c74
commit
7cdab91cbb
|
|
@ -25,9 +25,8 @@ public class Push extends Ali {
|
|||
|
||||
@Override
|
||||
public String detailContent(List<String> ids) throws Exception {
|
||||
String url = ids.get(0).trim();
|
||||
if (url.contains("aliyundrive")) return super.detailContent(ids);
|
||||
return Result.string(vod(url));
|
||||
if (pattern.matcher(ids.get(0)).find()) return super.detailContent(ids);
|
||||
return Result.string(vod(ids.get(0)));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
c87a187b382db0c694f9e2664242a864
|
||||
eeda57626bd6a8d9807296aae98e3e92
|
||||
|
|
|
|||
Loading…
Reference in New Issue