mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-27 11:11:07 +08:00
Merge pull request #3720 from InfinityPacer/feature/site
This commit is contained in:
@@ -43,7 +43,7 @@ class NexusPhpSiteUserInfo(SiteParserBase):
|
|||||||
message_text = message_labels[0].xpath("string(.)")
|
message_text = message_labels[0].xpath("string(.)")
|
||||||
|
|
||||||
logger.debug(f"{self._site_name} 消息原始信息 {message_text}")
|
logger.debug(f"{self._site_name} 消息原始信息 {message_text}")
|
||||||
message_unread_match = re.findall(r"[^Date](信息箱\s*|\(|你有\xa0)(\d+)", message_text)
|
message_unread_match = re.findall(r"[^Date](信息箱\s*|\((?![^)]*:)|你有\xa0)(\d+)", message_text)
|
||||||
|
|
||||||
if message_unread_match and len(message_unread_match[-1]) == 2:
|
if message_unread_match and len(message_unread_match[-1]) == 2:
|
||||||
self.message_unread = StringUtils.str_int(message_unread_match[-1][1])
|
self.message_unread = StringUtils.str_int(message_unread_match[-1][1])
|
||||||
|
|||||||
Reference in New Issue
Block a user