You have used n methods to download Ted Subtitles before, and all of them are invalid. In desperation, during the 5.1 period, I had a Perl script, which was introduced in my previous blog. In the past two days, some netizens asked me how to use it. The following is a summary:
: Https://github.com/di3du/DisanduAdmin/raw/master/2012/tedSubtitle.zip
Source code: https://github.com/di3du/DisanduAdmin/tree/master/2012/tedSubtitle
Usage:Tedsubtitle "TED speech URL" language encoding (Chinese: chi_hans, English: ENG) Output subtitle file or directly modify the URL link and language in the subtitle. bat batch file. If you see this, you have not used it yet, please refer to this tutorial
For example:Tedsubtitle "http://www.ted.com/talks/stephen_wolfram_computing_a_theory_of_everything.html" eng wolfram. srt
Note:
See http://www.disandu.com/download/languageCode.txt 2 currently only supports command line mode, Windows platform through the "Start Menu" click "run", Enter cmd to Enter command line mode, before executing the preceding command, you need to run CD to enter the directory where the tedsubtitle file is located. 3. The subtitle file is in SubRip format. Or directly modify the testtedsub. BAT file in the package, change the URL and output file name, and then execute the BAT file. 4 In Windows, subtitle files cannot be loaded on the default player. kmplayer or QQ audio and video are recommended. 5. After testing, the tedsubtitle program can run Windows 32-bit and 64-bit platforms, so it does not separately package each platform. 6 any questions and suggestions please contact me: think.hy@gmail.com
========================================================== ========================================================== ====
Update record:
Upload tedsubtitlein 11/09/11, and add readme.txt and tedsubtitle. bat. Release report see: http://blog.csdn.net/thinkhy/article/details/6768175
11/09/03 optimized some code and output information, and added the determination of the number of command line parameters.
11/08/06 added the function of automatically identifying the advertising time (see the source code). You need to email me the latest version of the EXE file.
11/06/25 latest script code https://gist.github.com/949659, currently mainly to fine tune the advertising time. 12/01/26 adjusted the match Regular Expression of the ad time 12/01/27 updated the blog post, introduced the use of the script: http://blog.csdn.net/thinkhy/article/details/7216354 12/04/17 updated. The URLs in the 12/08/05 command line must be enclosed in quotation marks. Otherwise, the Command Parameter Parsing fails. 12/10/21 according
DoyouwannaAdded parsing of special HTML characters of the front %. Thank you, doyouwanna! The 12/12/22 Yan Xue Feng feedback tool has expired. In the first hour after the end of the world, the problem was changed. 13/03/23 Xianglin Meng feedback that the talk ID cannot be obtained because TED.com has recently updated the Javascript script and the problem has been resolved. Thanks to Xianglin.