diff --git a/themes/tajian/controller/ApiController.php b/themes/tajian/controller/ApiController.php index 1fda37c..57aa2cd 100644 --- a/themes/tajian/controller/ApiController.php +++ b/themes/tajian/controller/ApiController.php @@ -110,7 +110,7 @@ Class ApiController extends SiteController { $done = true; $newVideo = array(); - preg_match("/https:\/\/[\w\.]+\/\w+/i", $content, $matches); + preg_match("/https:\/\/[\w\.]+(\/\w+){1,}\/?/i", $content, $matches); if (!empty($matches)) { $newVideo['url'] = $matches[0]; $done = $done && $this->saveBotTask($newVideo['url']);