How to download your favorite ringtones from the 12306 website

Source: Internet
Author: User

1. Causes

Every time in 12306 to brush the train ticket I will be very nervous, especially to 10 points, 14 points the whole time, feel the whole person is not good, because every time can not get tickets. May be I use 12306 of the site's own ticket to rob the tool bar, here, is the following.

Whenever the ticket was robbed, the map marked the place will be "well ~ ~" The ring, let people feel the spirit of a shock, a good mood. Interested students can go to try, connected here https://kyfw.12306.cn/otn/leftTicket/init Point to open the place you can see the ~_~

Since this music has such a good effect, I would like to make it into a mobile phone ringtone, so it is sure to laugh often open, longevity. Say dry, worked the following process.

2. Preliminary study

Then I have to play my technical expertise-Baidu "How to download the music of the Web". As a result, the great gods said, they could go to the Chrome cache directory.

1) Erase the history of your browser

2) Open the music page and try listening to music

3) Check the newly added files in the cache directory

4) One of them is what you want.

I'll do it if you want to listen to the elder. So I went into Chrome's cache directory C:\Users\Fengbo\AppData\Local\Google\Chrome\User Data\default, with two cached directories. Deleted the browser's history cache, and also emptied the files under both directories. Then open 12306 of the booking page, try to listen to the wonderful UM ~ ~ Music, and then go to the cache directory, found a lot of files with no suffix name:

Because I do not know what format this music file is, I assume it is mp3 format and then write a xx.bat script:

Inside a word, double-click the run script to rename all the files to MP3 format.

And then just one try, the results are not. I was sad ...

3. Progress

But remember that the recent 13 elder brother learning PHP and front-end, then let him do a favor ~

First use Chrome to open the Debug feature "F12" or "right page blank, review element", as follows

Navigate to the "audition" button, and you'll find the following:

This ID is called "tryplayer" Ah, next check JS inside the "Tryplayer", download the page JS, and then check "tryplayer" keyword, found the following this

That is to say the "/resources/js/framework/audio/message.wav" address is probably the beautiful music I am looking for, first in the browser to see, put the address in the Address bar, enter, the result ...

I don't think so. I was more sad ...

4. Advanced

Wait, there seems to be another thing in front of this address-' CTX '

In the website source code to look down ' ctx ', found, is it--'/otn/'

Add this to the address and try again.

Results

The sound came out, and at that moment, I was full of spirit ~

You have a taste of Ha https://kyfw.12306.cn/otn//resources/js/framework/audio/message.wav .

Right click Save As, oh ~ Oh ~

The original is the WAV format ~

5. Follow-up

I want to put it on the phone, made the tone of the text message, from now on, will certainly cause the panic of the small partners, because I can always in their mood when the rush of the ticket "Rob"

Storm

Technical support: 13 elder brother

How to download your favorite ringtones from the 12306 website

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.