reywechat 1.0.61__py3-none-any.whl → 1.0.62__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- reywechat/rreceive.py +7 -7
- {reywechat-1.0.61.dist-info → reywechat-1.0.62.dist-info}/METADATA +1 -1
- {reywechat-1.0.61.dist-info → reywechat-1.0.62.dist-info}/RECORD +5 -5
- {reywechat-1.0.61.dist-info → reywechat-1.0.62.dist-info}/WHEEL +0 -0
- {reywechat-1.0.61.dist-info → reywechat-1.0.62.dist-info}/licenses/LICENSE +0 -0
reywechat/rreceive.py
CHANGED
@@ -809,22 +809,22 @@ class WeChatMessage(WeChatBase):
|
|
809
809
|
throw(AssertionError, self._is_quote)
|
810
810
|
|
811
811
|
# Extract.
|
812
|
-
pattern = '<title>(
|
812
|
+
pattern = '<title>([^<>]+)</title>'
|
813
813
|
text: str = search(pattern, self.data)
|
814
|
-
pattern = r'<svrid>(
|
814
|
+
pattern = r'<svrid>([^<>]+)</svrid>'
|
815
815
|
quote_id = search(pattern, self.data)
|
816
816
|
quote_id = int(quote_id)
|
817
|
-
pattern = r'<createtime>(
|
817
|
+
pattern = r'<createtime>([^<>]+)</createtime>'
|
818
818
|
quote_time = search(pattern, self.data)
|
819
819
|
quote_time = int(quote_time)
|
820
|
-
pattern = r'<refermsg
|
820
|
+
pattern = r'<refermsg>.*?<type>([^<>]+)</type>'
|
821
821
|
quote_type = search(pattern, self.data)
|
822
822
|
quote_type = int(quote_type)
|
823
|
-
pattern = r'<chatusr>(
|
823
|
+
pattern = r'<chatusr>([^<>]+)</chatusr>'
|
824
824
|
quote_user: str = search(pattern, self.data)
|
825
|
-
pattern = '<displayname>(
|
825
|
+
pattern = '<displayname>([^<>]+)</displayname>'
|
826
826
|
quote_user_name: str = search(pattern, self.data)
|
827
|
-
pattern = '<content>(
|
827
|
+
pattern = '<content>([^<>]+)</content>'
|
828
828
|
quote_data: str = search(pattern, self.data)
|
829
829
|
self._quote_params: MessageQuoteParameter = {
|
830
830
|
'text': text,
|
@@ -5,12 +5,12 @@ reywechat/rcache.py,sha256=7UsHHfgFOgxuSqlTSAO6CprgUUOeBCXYus0kxmRBQxk,908
|
|
5
5
|
reywechat/rclient.py,sha256=lc1CPle9h08mwP8NlJN0ybzcNJxtpV0ma6q6cz1RIxk,22518
|
6
6
|
reywechat/rdb.py,sha256=PBEg_9Ig07vwqH3RNLaIWZZD7Joe6MQceiNB21hGAj0,48654
|
7
7
|
reywechat/rlog.py,sha256=4EsTgrgC05JvWeKAucUaWGga638CRRJISJN6qncBCAw,5249
|
8
|
-
reywechat/rreceive.py,sha256=
|
8
|
+
reywechat/rreceive.py,sha256=akRLA5j17ySLEUG5HnlYy4PSboQgHay9AcLapJrJM9k,51206
|
9
9
|
reywechat/rsend.py,sha256=yrJf9GzWVCDptUHHazhWSVW0nm2LCIbb0sz2EII63bY,20049
|
10
10
|
reywechat/rtrigger.py,sha256=WdOQwobPdGPyyE9J-qtQFPd60713T0aWqKk02PLdCRE,4966
|
11
11
|
reywechat/rwechat.py,sha256=g0pbprMPv_qWb_lGFrPDAWsJO4vPSIgFLkw0Y28CZUo,4751
|
12
12
|
reywechat/data/client_api.dll,sha256=H9uj-x9Ztg0jFZK0yY6NsnyH5_119dQRFfoVVMidxRs,592384
|
13
|
-
reywechat-1.0.
|
14
|
-
reywechat-1.0.
|
15
|
-
reywechat-1.0.
|
16
|
-
reywechat-1.0.
|
13
|
+
reywechat-1.0.62.dist-info/METADATA,sha256=7ln3X4XFfA0qjt-kuQzH2dev6D79Qls8BWilRvdTqoM,1551
|
14
|
+
reywechat-1.0.62.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
reywechat-1.0.62.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
16
|
+
reywechat-1.0.62.dist-info/RECORD,,
|
File without changes
|
File without changes
|