Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type 14 Message.Url missed case #82

Open
suntong opened this issue Feb 14, 2021 · 0 comments
Open

type 14 Message.Url missed case #82

suntong opened this issue Feb 14, 2021 · 0 comments

Comments

@suntong
Copy link

suntong commented Feb 14, 2021

Important:Please file the issue follow the template, or we won't help you to solve the problem.

0. Report Issue Guide

  1. Please run the following command and check whether the problem has been fixed:
rm -rf package-lock.json
rm -rf node_modules
npm install

No.

  1. Please search in FAQ List first, and make sure your problem has not been solved before.

  2. Please search in the issue first, and make sure your problem had not been reported before

1. Versions

  • What is your wechaty version?
    Answer: [email protected]

  • What is your wechaty-puppet-donut version?
    Answer: [email protected]

  • What is your node version? (run node --version)
    Answer: v10.21.0

  • What 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:

  • Received Url typed message from 好看视频

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 好看视频:

<?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&amp;pd=haokan_share&amp;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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant