reywechat 1.0.70__py3-none-any.whl → 1.0.71__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 +10 -10
- {reywechat-1.0.70.dist-info → reywechat-1.0.71.dist-info}/METADATA +1 -1
- {reywechat-1.0.70.dist-info → reywechat-1.0.71.dist-info}/RECORD +5 -5
- {reywechat-1.0.70.dist-info → reywechat-1.0.71.dist-info}/WHEEL +0 -0
- {reywechat-1.0.70.dist-info → reywechat-1.0.71.dist-info}/licenses/LICENSE +0 -0
reywechat/rreceive.py
CHANGED
@@ -329,7 +329,7 @@ class WeChatMessage(WeChatBase):
|
|
329
329
|
if self.share_type == 1:
|
330
330
|
self._cache['text'] = '[网址]'
|
331
331
|
if self.share_params['title'] is not None:
|
332
|
-
self.
|
332
|
+
self._cache['text'] += f' {self.share_params['title']}'
|
333
333
|
|
334
334
|
### File uploaded.
|
335
335
|
elif self.is_file_uploaded:
|
@@ -346,7 +346,7 @@ class WeChatMessage(WeChatBase):
|
|
346
346
|
else:
|
347
347
|
self._cache['text'] = f'[转发"{self.share_params['title']}"]'
|
348
348
|
if self.share_params['desc'] is not None:
|
349
|
-
self.
|
349
|
+
self._cache['text'] += f' {self.share_params['desc']}'
|
350
350
|
|
351
351
|
### Mini program.
|
352
352
|
elif self.is_mini_program:
|
@@ -355,7 +355,7 @@ class WeChatMessage(WeChatBase):
|
|
355
355
|
else:
|
356
356
|
self._cache['text'] = f'[小程序"{self.share_params['name']}"分享]'
|
357
357
|
if self.share_params['title'] is not None:
|
358
|
-
self.
|
358
|
+
self._cache['text'] += f' {self.share_params['title']}'
|
359
359
|
|
360
360
|
### Video channel.
|
361
361
|
elif self.share_type == 51:
|
@@ -364,7 +364,7 @@ class WeChatMessage(WeChatBase):
|
|
364
364
|
else:
|
365
365
|
self._cache['text'] = f'[视频号"{self.share_params['name']}"分享]'
|
366
366
|
if self.share_params['title'] is not None:
|
367
|
-
self.
|
367
|
+
self._cache['text'] += f' {self.share_params['title']}'
|
368
368
|
|
369
369
|
### Quote.
|
370
370
|
elif self.is_quote:
|
@@ -389,9 +389,9 @@ class WeChatMessage(WeChatBase):
|
|
389
389
|
else:
|
390
390
|
self._cache['text'] = f'[APP"{self.share_params['name']}"分享]'
|
391
391
|
if self.share_params["title"] is not None:
|
392
|
-
self.
|
392
|
+
self._cache['text'] += f' {self.share_params["title"]}'
|
393
393
|
if self.share_params["desc"] is not None:
|
394
|
-
self.
|
394
|
+
self._cache['text'] += f' {self.share_params["desc"]}'
|
395
395
|
|
396
396
|
### Other.
|
397
397
|
else:
|
@@ -400,9 +400,9 @@ class WeChatMessage(WeChatBase):
|
|
400
400
|
else:
|
401
401
|
self._cache['text'] = f'["{self.share_params['name']}"分享]'
|
402
402
|
if self.share_params["title"] is not None:
|
403
|
-
self.
|
403
|
+
self._cache['text'] += f' {self.share_params["title"]}'
|
404
404
|
if self.share_params["desc"] is not None:
|
405
|
-
self.
|
405
|
+
self._cache['text'] += f' {self.share_params["desc"]}'
|
406
406
|
|
407
407
|
## Voice call or video call.
|
408
408
|
case 50:
|
@@ -566,7 +566,7 @@ class WeChatMessage(WeChatBase):
|
|
566
566
|
if desc is None:
|
567
567
|
desc: str | None = search('.*<desc>([^<>]+)</desc>', self.data)
|
568
568
|
url: str | None = search('.*<url>([^<>]+)</url>', self.data)
|
569
|
-
self.
|
569
|
+
self._cache['share_params'] = {
|
570
570
|
'name': name,
|
571
571
|
'title': title,
|
572
572
|
'desc': desc,
|
@@ -781,7 +781,7 @@ class WeChatMessage(WeChatBase):
|
|
781
781
|
quote_user_name: str = search(pattern, self.data)
|
782
782
|
pattern = '<content>([^<>]+)</content>'
|
783
783
|
quote_data: str = search(pattern, self.data)
|
784
|
-
self.
|
784
|
+
self._cache['quote_params'] = {
|
785
785
|
'text': text,
|
786
786
|
'quote_id': quote_id,
|
787
787
|
'quote_time': quote_time,
|
@@ -5,12 +5,12 @@ reywechat/rcache.py,sha256=5FIa8UB3VsLHT_EXHHmFP62a5AeS22anJCJXC8t4tWw,908
|
|
5
5
|
reywechat/rclient.py,sha256=lc1CPle9h08mwP8NlJN0ybzcNJxtpV0ma6q6cz1RIxk,22518
|
6
6
|
reywechat/rdb.py,sha256=R3ZySPsLM5g0hChFBMxtG9MRZCZ433aMYa_LuggKK90,51010
|
7
7
|
reywechat/rlog.py,sha256=TSA-_5pwlq0sUND2cnLDqXvdmAdMAkC7tXIz3WfJ7Xw,5259
|
8
|
-
reywechat/rreceive.py,sha256=
|
8
|
+
reywechat/rreceive.py,sha256=QKaGjp-7Dy2i3nXOxQK-ES5EjkmDLguZBwv0XNfy3Nk,50603
|
9
9
|
reywechat/rsend.py,sha256=BB42r24x37V1tb27HLhnB_2tILv-DW26F9QbhqiNes8,20101
|
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.71.dist-info/METADATA,sha256=GzBgacCnc2PG5WSLSfIIABVTYVlS5mxec9fofqmM0lI,1551
|
14
|
+
reywechat-1.0.71.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
reywechat-1.0.71.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
16
|
+
reywechat-1.0.71.dist-info/RECORD,,
|
File without changes
|
File without changes
|