Fix ali video url push

This commit is contained in:
FongMi 2023-07-25 13:31:04 +08:00
parent 6353741c74
commit 7cdab91cbb
3 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -1 +1 @@
c87a187b382db0c694f9e2664242a864
eeda57626bd6a8d9807296aae98e3e92