找回密码
 加入
搜索
查看: 1346|回复: 2

[AU3基础] html编码的问题!请问怎么还原代码?

[复制链接]
发表于 2019-10-22 17:32:05 | 显示全部楼层 |阅读模式
$s=StringRegExp('https://www.vmall.com/product/10086478053817.html','&#x(\w+);',3)
MsgBox(0, '', ChrW ('0x'&$s[0] ))
用啥办法整段还原出来?
{"activityUrl":"https://consumer.huawei.com/cn/support/","fontColor":"","id":354,"inSearchBox":0,"isActivityWords":1,"priority":-6,"saleChannel":1,"tagType":0,"type":1,"word":"服务"},{"activityUrl":"https://consumer.huawei.com/cn/support/","fontColor":"","id":356,"inSearchBox":0,"isActivityWords":1,"priority":-5,"saleChannel":1,"tagType":0,"type":1,"word":"华为服务"},{"activityUrl":"https://consumer.huawei.com/cn/support/","fontColor":"","id":358,"inSearchBox":0,"isActivityWords":1,"priority":-4,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀服务"},{"id":226,"inSearchBox":1,"isActivityWords":0,"priority":-4,"saleChannel":1,"tagType":0,"type":2,"word":"HUAWEI Mate 20"},{"activityUrl":"https://www.vmall.com/order/tcsProductIndex","fontColor":"","id":360,"inSearchBox":0,"isActivityWords":1,"priority":-3,"saleChannel":1,"tagType":0,"type":1,"word":"华为延长宝"},{"activityUrl":"https://sale.vmall.com/pseries.html","fontColor":"#CF0A2C","id":288,"inSearchBox":1,"isActivityWords":1,"priority":-2,"saleChannel":1,"tagType":0,"type":2,"word":"HUAWEI P30"},{"activityUrl":"https://www.vmall.com/order/tcsProductIndex","fontColor":"","id":362,"inSearchBox":0,"isActivityWords":1,"priority":-2,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀延长宝"},{"activityUrl":"","fontColor":"","id":530,"inSearchBox":1,"isActivityWords":0,"priority":-1,"saleChannel":1,"tagType":0,"type":2,"word":"畅享10 Plus"},{"activityUrl":"https://www.vmall.com/order/tcsProductIndex","fontColor":"","id":364,"inSearchBox":0,"isActivityWords":1,"priority":-1,"saleChannel":1,"tagType":0,"type":1,"word":"延保"},{"activityUrl":"https://www.vmall.com/order/tcsProductIndex","fontColor":"","id":366,"inSearchBox":0,"isActivityWords":1,"priority":0,"saleChannel":1,"tagType":0,"type":1,"word":"延长服务宝"},{"activityUrl":"https://m.vmall.com/openTest","fontColor":"","id":416,"inSearchBox":0,"isActivityWords":1,"priority":2,"saleChannel":1,"tagType":0,"type":1,"word":"众测"},{"activityUrl":"https://m.vmall.com/openTest","fontColor":"","id":418,"inSearchBox":0,"isActivityWords":1,"priority":3,"saleChannel":1,"tagType":0,"type":1,"word":"华为众测"},{"activityUrl":"https://m.vmall.com/product/10086136565358.html","fontColor":"","id":422,"inSearchBox":0,"isActivityWords":1,"priority":5,"saleChannel":1,"tagType":0,"type":1,"word":"电磁炉"},{"activityUrl":"","fontColor":"","id":444,"inSearchBox":0,"isActivityWords":0,"priority":7,"saleChannel":1,"tagType":0,"type":1,"word":"9X"},{"activityUrl":"","fontColor":"","id":450,"inSearchBox":0,"isActivityWords":0,"priority":8,"saleChannel":1,"tagType":0,"type":1,"word":"智慧屏"},{"activityUrl":"","fontColor":"","id":452,"inSearchBox":0,"isActivityWords":0,"priority":9,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀智慧屏"},{"activityUrl":"","fontColor":"","id":454,"inSearchBox":0,"isActivityWords":0,"priority":10,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀大屏"},{"activityUrl":"https://www.vmall.com/product/10086097747140.html","fontColor":"","id":456,"inSearchBox":0,"isActivityWords":1,"priority":11,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀电视"},{"activityUrl":"https://www.vmall.com/product/10086593188778.html","fontColor":"","id":458,"inSearchBox":0,"isActivityWords":1,"priority":12,"saleChannel":1,"tagType":0,"type":1,"word":"华为智慧屏"},{"activityUrl":"https://www.vmall.com/product/10086593188778.html","fontColor":"","id":460,"inSearchBox":0,"isActivityWords":1,"priority":13,"saleChannel":1,"tagType":0,"type":1,"word":"华为智慧屏电视"},{"activityUrl":"https://www.vmall.com/product/10086593188778.html","fontColor":"","id":462,"inSearchBox":0,"isActivityWords":1,"priority":14,"saleChannel":1,"tagType":0,"type":1,"word":"华为电视"},{"activityUrl":"https://www.vmall.com/product/10086452612142.html","fontColor":"","id":506,"inSearchBox":0,"isActivityWords":1,"priority":17,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀20s"},{"activityUrl":"https://www.vmall.com/product/10086452612142.html","fontColor":"","id":512,"inSearchBox":0,"isActivityWords":1,"priority":19,"saleChannel":1,"tagType":0,"type":1,"word":"20S"},{"activityUrl":"https://www.vmall.com/product/10086452612142.html","fontColor":"","id":514,"inSearchBox":0,"isActivityWords":1,"priority":20,"saleChannel":1,"tagType":0,"type":1,"word":"20s"},{"activityUrl":"","fontColor":"","id":408,"inSearchBox":0,"isActivityWords":0,"priority":22,"saleChannel":1,"tagType":0,"type":1,"word":"麦芒8"},{"activityUrl":"","fontColor":"","id":404,"inSearchBox":0,"isActivityWords":0,"priority":24,"saleChannel":1,"tagType":0,"type":1,"word":"HUAWEI Mate 20 Pro"},{"activityUrl":"","fontColor":"","id":528,"inSearchBox":0,"isActivityWords":0,"priority":26,"saleChannel":1,"tagType":0,"type":1,"word":"畅享10 P"},{"activityUrl":"https://www.vmall.com/product/10086593188778.html","fontColor":"","id":554,"inSearchBox":0,"isActivityWords":1,"priority":27,"saleChannel":1,"tagType":0,"type":1,"word":"华为大屏"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":556,"inSearchBox":0,"isActivityWords":1,"priority":28,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀青年派"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":558,"inSearchBox":0,"isActivityWords":1,"priority":29,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀超品日"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":560,"inSearchBox":0,"isActivityWords":1,"priority":30,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀超级品牌日"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":562,"inSearchBox":0,"isActivityWords":1,"priority":31,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀新品日"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":564,"inSearchBox":0,"isActivityWords":1,"priority":32,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀品牌日"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":566,"inSearchBox":0,"isActivityWords":1,"priority":33,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀会员日"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":568,"inSearchBox":0,"isActivityWords":1,"priority":34,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀专区"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":570,"inSearchBox":0,"isActivityWords":1,"priority":35,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀频道"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":572,"inSearchBox":0,"isActivityWords":1,"priority":36,"saleChannel":1,"tagType":0,"type":1,"word":"荣耀新品"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":574,"inSearchBox":0,"isActivityWords":1,"priority":37,"saleChannel":1,"tagType":0,"type":1,"word":"赵丽颖"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":576,"inSearchBox":0,"isActivityWords":1,"priority":38,"saleChannel":1,"tagType":0,"type":1,"word":"黄景瑜"},{"activityUrl":"https://www.vmall.com/honor","fontColor":"","id":578,"inSearchBox":0,"isActivityWords":1,"priority":39,"saleChannel":1,"tagType":0,"type":1,"word":"李现"},{"activityUrl":"https://www.vmall.com/product/10086478053817.html","fontColor":"","id":632,"inSearchBox":0,"isActivityWords":1,"priority":40,"saleChannel":1,"tagType":0,"type":1,"word":"白敬亭"}]' || null) || [];
像这种大段的好像更难还原
发表于 2019-10-22 17:55:02 | 显示全部楼层
http://www.autoitx.com/thread-11042-1-1.html
_UnicodeEncodeToString(ClipGet())
 楼主| 发表于 2019-10-22 18:00:48 | 显示全部楼层
afan 发表于 2019-10-22 17:55
http://www.autoitx.com/thread-11042-1-1.html
_UnicodeEncodeToString(ClipGet())

正在看这个,我之前一直在用你的这个代码,但是时间长了忘记了!
太久没使用过了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-16 06:58 , Processed in 0.068975 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表