?URL

WeChatLink

WeChatLink[url_String|url_URL,"Audio"]:=

RightComposition[
Import,
Cases[
#,
XMLElement["mpvoice",{"class"->"rich_pages res_iframe js_editor_audio audio_iframe place_audio_area","name"->name_String,___,"voice_encode_fileid"-> audioID_String,___},{}]:><|"name"->name,"voice_encode_fileid"-> audioID|>,
Infinity
]&,
URLSave[URLBuild["https://res.wx.qq.com/voice/getvoice",{"mediaid"->("voice_encode_fileid"/.#)}],FileNameJoin[Flatten[{$TemporaryDirectory,StringReplace["name"/.#," "-> "_"]}]]]&
]["https://mp.weixin.qq.com/s?__biz=Mzg5MTE0OTgxMA==&mid=2247484172&idx=1&sn=7ea7cf970f9d972e5220c81a04fa12ee","XMLObject"]