首先,获取flash的源文件源码:
<embed allowscriptaccess="always" height="482" pluginspage="http://get.adobe.com/cn/flashplayer/" flashvars="list=http%3A%2F%2Fus.sinaimg.cn%2F000dlKFvjx06VFpfSOrR0104010000220k01.m3u8%3FKID%3Dunistore%2Cvideo%26Expires%3D1443449911%26ssig%3D0vewc5EG06&fid=1034:4c8d2a9f3337d3cf6f7f03c344cfdc29&logo=2&uid=0&vf=feed" allowfullscreen="true" width="482" quality="high" src="http://js.t.sinajs.cn/t5/album/static/swf/video/player.swf?v1441960331716985353" type="application/x-shockwave-flash" wmode="transparent"></embed>
找到上段源码红色地址URL解码得到地址:http://us.sinaimg.cn/000dlKFvjx06VFpfSOrR0104010000220k01.m3u8,打开这个链接下载文件,从文件中找到MP4的文件名,下载即可。
000dlKFvjx06VFpfSOrR0104010000220k01.m3u8文件内容:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:206
#EXTINF:205.170000,
004ef5P4jx06VFpfLWXB01040101StGj0k02.mp4
#EXT-X-ENDLIST
MP4视频的真实下载地址:http://us.sinaimg.cn/004ef5P4jx06VFpfLWXB01040101StGj0k02.mp4
解码工具:http://tool.chinaz.com/Tools/URLEncode.aspx