mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-24 20:17:38 +08:00
fixed weibo m.weibo.cn/status/<id> unavailable
This commit is contained in:
parent
0310914632
commit
a07c0b1b18
@ -5,7 +5,7 @@ MORNY_ARCHIVE_NAME = morny-coeur
|
|||||||
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
|
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
|
||||||
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
|
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
|
||||||
|
|
||||||
VERSION = 1.3.2
|
VERSION = 1.3.3
|
||||||
|
|
||||||
USE_DELTA = false
|
USE_DELTA = false
|
||||||
VERSION_DELTA =
|
VERSION_DELTA =
|
||||||
|
@ -23,7 +23,7 @@ package object weibo {
|
|||||||
// s"https://$cdn.singimg.cn/$mode/$pid.jpg"
|
// 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] =
|
def parseWeiboStatusUrl (url: String): Option[StatusUrlInfo] =
|
||||||
url match
|
url match
|
||||||
|
Loading…
Reference in New Issue
Block a user