Download the MP3 tutorial on the Himalaya Web site using the Chrome browser on your computer

Source: Internet
Author: User
Tags json

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.