Hi I've done a cute script to download the videos from TBS, along with the text and put them in the current folder.
I'm using it on Ubuntu, but it probably works well on any platform with ruby and mencoder run (including windows and mac).
You only need ruby, hpricot and mencoder installed.
Download it from:
http://www.inf.ufsc.br/~emilio/japanese/aranha.rb
Example of use:
$ ruby aranha.rb
It will download the last 15 articles from TBS that have video, convert the videos to mp3, and throw it all at the same folder together with each article's text.
###### ONLY for windows users: ########
You can download the mplayer package (which contains mencoder) from this link:
http://sourceforge.net/project/showfiles..._id=683443
Then you must set the MENCODER_PATH inside the script to wherever you install mencoder (notice the double \\ instead of only \ in pathnames). For example:
### BEGIN CONFIGURATION ###
MAX_FILES = 15
MENCODER_PATH = "c:\\my\\mencoder\\folder\\mencoder.exe"
HOST = "news.tbs.co.jp"
### END CONFIGURATION ###
I'm using it on Ubuntu, but it probably works well on any platform with ruby and mencoder run (including windows and mac).
You only need ruby, hpricot and mencoder installed.
Download it from:
http://www.inf.ufsc.br/~emilio/japanese/aranha.rb
Example of use:
$ ruby aranha.rb
It will download the last 15 articles from TBS that have video, convert the videos to mp3, and throw it all at the same folder together with each article's text.
###### ONLY for windows users: ########
You can download the mplayer package (which contains mencoder) from this link:
http://sourceforge.net/project/showfiles..._id=683443
Then you must set the MENCODER_PATH inside the script to wherever you install mencoder (notice the double \\ instead of only \ in pathnames). For example:
### BEGIN CONFIGURATION ###
MAX_FILES = 15
MENCODER_PATH = "c:\\my\\mencoder\\folder\\mencoder.exe"
HOST = "news.tbs.co.jp"
### END CONFIGURATION ###
Edited: 2009-05-25, 2:59 pm
