Skip to content

Commit

Permalink
fixed weibo m.weibo.cn/status/<id> unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyre-S committed Mar 7, 2024
1 parent 0310914 commit a07c0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a07c0b1

Please sign in to comment.