Open suntong opened 3 years ago
Important:Please file the issue follow the template, or we won't help you to solve the problem.
rm -rf package-lock.json rm -rf node_modules npm install
No.
Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
What is your wechaty version? Answer: wechaty@0.57.3
What is your wechaty-puppet-donut version? Answer: wechaty-puppet-service@0.14.5
What is your node version? (run node --version) Answer: v10.21.0
node --version
What os are you using Answer: Ubuntu 20.04 LTS
Give a clear and concise description of what the bug is.
Some cases should be processed as Message.Url but have yet to be done.
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
processed as Message.Url.
returned as Unknown
Unknown
Here is a concrete case of Url typed message from 好看视频:
<?xml version="1.0"?> <msg> <appmsg appid="" sdkver="553844737"> <title>人类最后的发明是什么?</title> <des>此视频已有2935次播放,快来一起看看!</des> <username /> <action>view</action> <type>4</type> <showtype>0</showtype> <content /> <url>https://haokan.hao123.com/v?vid=2294764677280618007&pd=haokan_share&context=%7B%22cuid%22%3A%220a2O8_uwvalaavihlavKu_uxviYni2uEliHfilaGH8KsLqqqB%22%2C%22tt%22%3A1613301825%2C%22uk%22%3Anull%7D</url> <lowurl /> <dataurl /> <lowdataurl /> <contentattr>0</contentattr> <streamvideo> <streamvideourl /> <streamvideototaltime>0</streamvideototaltime> <streamvideotitle /> <streamvideowording /> <streamvideoweburl /> <streamvideothumburl /> <streamvideoaduxinfo /> <streamvideopublishid /> </streamvideo> <canvasPageItem> <canvasPageXml><![CDATA[]]></canvasPageXml> </canvasPageItem> <appattach> <attachid /> <cdnthumburl>305d020100045630540201000204a24efb3802033d0af502047d4d977b0204602947f9042f6175706170706d73675f376464373766363137383061386561325f313631333331383133383235395f3339313638310204010400030201000400</cdnthumburl> <cdnthumbmd5>5f20d64a241fd54e8414f8581621d60c</cdnthumbmd5> <cdnthumblength>21322</cdnthumblength> <cdnthumbheight>68</cdnthumbheight> <cdnthumbwidth>120</cdnthumbwidth> <cdnthumbaeskey>d7a769677a4b4eac4fd2d29dcc63ec5c</cdnthumbaeskey> <aeskey>d7a769677a4b4eac4fd2d29dcc63ec5c</aeskey> <encryver>1</encryver> <fileext /> <islargefilemsg>0</islargefilemsg> </appattach> <extinfo /> <androidsource>3</androidsource> <thumburl /> <mediatagname /> <messageaction><![CDATA[]]></messageaction> <messageext><![CDATA[]]></messageext> <emoticongift> <packageflag>0</packageflag> <packageid /> </emoticongift> <emoticonshared> <packageflag>0</packageflag> <packageid /> </emoticonshared> <designershared> <designeruin>0</designeruin> <designername>null</designername> <designerrediretcturl>null</designerrediretcturl> </designershared> <emotionpageshared> <tid>0</tid> <title>null</title> <desc>null</desc> <iconUrl>null</iconUrl> <secondUrl>null</secondUrl> <pageType>0</pageType> </emotionpageshared> <webviewshared> <shareUrlOriginal /> <shareUrlOpen /> <jsAppId /> <publisherId /> </webviewshared> <template_id /> <md5>5f20d64a241fd54e8414f8581621d60c</md5> <weappinfo> <username /> <appid /> <appservicetype>0</appservicetype> <videopageinfo> <thumbwidth>120</thumbwidth> <thumbheight>68</thumbheight> <fromopensdk>0</fromopensdk> </videopageinfo> </weappinfo> <statextstr>GhQKEnd4ODllMGFmOWQxZmFjYTc3Nw==</statextstr> <musicShareItem> <musicDuration>0</musicDuration> </musicShareItem> <findernamecard> <username /> <avatar><![CDATA[]]></avatar> <nickname /> <auth_job /> <auth_icon>0</auth_icon> <auth_icon_url /> </findernamecard> <finderEndorsement> <scene><![CDATA[0]]></scene> </finderEndorsement> <directshare>0</directshare> <gamecenter> <namecard> <iconUrl /> <name /> <desc /> <tail /> <jumpUrl /> </namecard> </gamecenter> <patMsg> <chatUser>null</chatUser> <records> <recordNum>0</recordNum> </records> </patMsg> <websearch> <rec_category>0</rec_category> <channelId>0</channelId> </websearch> </appmsg> <fromusername>wxid_gdlohuem682m22</fromusername> <scene>0</scene> <appinfo> <version>13</version> <appname>好看视频</appname> </appinfo> <commenturl /> </msg>
[bug]
0. Report Issue Guide
No.
Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
1. Versions
What is your wechaty version? Answer: wechaty@0.57.3
What is your wechaty-puppet-donut version? Answer: wechaty-puppet-service@0.14.5
What is your node version? (run
node --version
) Answer: v10.21.0What os are you using Answer: Ubuntu 20.04 LTS
2. Describe the bug
Give a clear and concise description of what the bug is.
Some cases should be processed as Message.Url but have yet to be done.
3. To Reproduce
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
4. Expected behavior
processed as Message.Url.
5. Actual behavior
returned as
Unknown
6. Full Output Logs
Here is a concrete case of Url typed message from 好看视频:
[bug]