Tools:
Chrome
Process:
1, open the chrome press F12. Will pop up the Developer Tools window. Click on the network to observe the Web page of the visit.
2, open the Web page:
http://www.ximalaya.com/#/1000202/sound/3613735, click the Play button and start playing the audio.
3, at this time in the Network Output window will see a variety of information there is such a record of access
Http://www.ximalaya.com/tracks/3613735.json
Its return result is
The code is as follows:
{"id": 3613735, "play_path_64": "Group4/m08/03/e0/wkgds1qo0b2jrtupachyxtsl18g572.mp3", "play_path_32": "group4/M07/ 03/e0/wkgds1qo0easyvn0aoqsfxnp6nq890.mp3 "," play_path_128 ": null," Play_path ":" group4/m0a/03/e0/ Wkgds1qo0wjj8ynabvkpgpw3atw003.mp3 "," duration ":" 3738.72 "," title ":" 2010 HD Marriage and family (Guo Yu Qian) "," nickname ":" Guo Crosstalk "," UID " : 1000202, "waveform": "Group4/m08/07/5b/wkgdtfqo0dcjmub2aaaihdd3sf43160.js", "upload_id": "u_3576599", "Cover_url": "<a href=" wkgds1qo0hhbarydaagrhqunue4210.jpg "," cover_url_142 ":" Wkgds1qo0hhbarydaagrhqunue4210_web_large.jpg " , "Formatted_created_at": "9" >wkgds1qo0hhbarydaagrhqunue4210.jpg "," cover_url_142 ":" Wkgds1qo0hhbarydaagrhqunue4210_web_large.jpg "," Formatted_created_at ":" 9</a> month 9th 18:10 "," is_favorited ": null , "Play_count": 27466, "Comments_count": "Shares_count": "Favorites_count": 290, "album_id": 276111, "Album_title ":" Guo Crosstalk ten-year classic Five, "Intro": "Guo Crosstalk Decade classic Five", "Short_intro": "Guo Crosstalk Decade classic Five", "Have_more_intro": false, "Time_until_now": " 16 hours ago, "category_name": "News", "category_tItle ": Latest News", "Played_secs": null}
4, and in the back of the record followed by the
Http://fdfs.xmcdn.com/group4/M08/03/E0/wKgDs1QO0b2jRtupAchYxtSl18g572.mp3
This is the real Mp3 address.
Summarize:
1. Request Http://www.ximalaya.com/tracks/ID.json
2, according to the results of the "play_path_64" field using the domain name "http://fdfs.xmcdn.com/" stitching to get: http://fdfs.xmcdn.com/group4/M08/03/E0/ Wkgds1qo0b2jrtupachyxtsl18g572.mp3
3, ok! Get Http://fdfs.xmcdn.com/group4/M08/03/E0/wKgDs1QO0b2jRtupAchYxtSl18g572.mp3.
4, everything is so simple!