Use Google Chrome to easily download MP3 files from 8-box players

Source: Internet
Author: User

Today I heard a cello Song In mtime, very nice to listen to, address: http://group.mtime.com/justmusic/discussion/1915486/

Download it. In the beginning, I went to chrome: cache Google cache. I can find that I couldn't play it all the time after I saved it. Therefore, you can only press F12 to open the debugging interface.

Open the "network" tab in the debugging interface (assuming that the start button of Flash Player is not pressed yet and the cache is clear ).

Click the start button of the player. At this time, two network requests are displayed under the "network" tab.

Obviously, the first 47684.mp3 is the song I want. Wait until all requests are completed. Right-click the menu and select "open link in new tab" to open the link. Then, the new page should be an MP3 playback page. Right-click the page and choose Save, so the download of an MP3 file is complete.

-----------------------------------------------------------

The method is so simple.

If you want to study how to download data using other methods, such as using a download tool or a self-made tool. In fact, it is easy to implement. Let's take a look at the entire MP3 request.

GET/upload/84/47684 bytes? Hazel HTTP/1.1

HOST: stream.8box.cn

Connection: keep-alive

User-Agent: Mozilla/5.0 (Windows NT 6.1) applewebkit/535.2 (khtml, like gecko) Chrome/15.0.865.0 Safari/535.2

Accept :*/*

Referer: http://www.8box.com/feed/5C5555_s_94327_/mini.swf

Accept-encoding: gzip, deflate, SDCh

Accept-language: ZH-CN, ZH; q = 0.8

Accept-charset: GBK, UTF-8; q = 0.7, *; q = 0.3

------------------------------------------------- The above is an http get request.

Can see, http://stream.8box.cn/upload/84/47684.mp3? The Hazel address is the URL of the MP3 file.

However, you cannot copy the address to the download tool. The principle is also very simple. The server determines whether to download the request by determining the source of the request. This mainly uses the Referer value.

If some tools have an input box, for example, the QQ tornado downloader. It can be seen that the server uses this value to determine whether to download the package for you.

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.