- 收藏到自己的歌单
- 用浏览器打开自己的歌单
- 打开“开发人员工具”,快捷键一般为F12
360浏览器
google浏览器
IE
4.选中歌单列表,复制粘贴至notepad++或EditPlus
5.已知“歌曲名-歌手”在标签 span 中
<span data-res-id="21301195" data-res-type="18" data-res-action="share" data-res-name="Battles and Wastelands" data-res-author="Neo Retros" data-res-pic="http://p4.music.126.net/5aTUx6jeROmJNYvOUq5XVw==/109951163454509125.jpg" class="icn icn-share" title="分享">分享</span>
6.用正则表达式的方法替换html :
((?!data-res-author).)*data-res-name="([^"]+)" data-res-author="([^"]+)"((?!data-res-name).)*
$2-$3\n
参考:https://www.zhihu.com/question/31816805