diff --git a/gradle.properties b/gradle.properties index 863c986..f6d390f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ MORNY_ARCHIVE_NAME = morny-coeur MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s -VERSION = 1.3.2 +VERSION = 1.3.3 USE_DELTA = false VERSION_DELTA = diff --git a/src/main/scala/cc/sukazyo/cono/morny/extra/weibo/package.scala b/src/main/scala/cc/sukazyo/cono/morny/extra/weibo/package.scala index c57e5dc..abf4e30 100644 --- a/src/main/scala/cc/sukazyo/cono/morny/extra/weibo/package.scala +++ b/src/main/scala/cc/sukazyo/cono/morny/extra/weibo/package.scala @@ -23,7 +23,7 @@ package object weibo { // s"https://$cdn.singimg.cn/$mode/$pid.jpg" // } - private val REGEX_WEIBO_STATUS_URL = "(?:https?://)?((?:www\\.|m.)?weibo\\.(?:com|cn))/(\\d+)/([0-9a-zA-Z]+)/?(?:\\?(\\S+))?"r + private val REGEX_WEIBO_STATUS_URL = "(?:https?://)?((?:www\\.|m\\.)?weibo\\.(?:com|cn))/(?:(\\d+)|status)/([0-9a-zA-Z]+)/?(?:\\?(\\S+))?"r def parseWeiboStatusUrl (url: String): Option[StatusUrlInfo] = url match