YouKu is the equivalent of YouTube in China, and earlier today I wanted to download a video from the service, so I’ve looked for an application or script that can do the job in Linux. I’ve finally come across you-get, a python 3 script that claims to be able to download videos from an impressive number of websites, namely: YouTube Vimeo Coursera Blip Dailymotion Facebook Google+ Google Drive Tumblr Vine SoundCloud Mixcloud Freesound JPopsuki VID48 Niconico (ニコニコ動画) Youku (优酷) Tudou (土豆) YinYueTai (音悦台) AcFun bilibili CNTV (中国网络电视台) Douban (豆瓣) ifeng (凤凰视频) iQIYI (爱奇艺) Joy.cn (激动网) Ku6 (酷6网) MioMio h NetEase (网易视频) (v.163.com) PPTV.com QQ (腾讯视频) (v.qq.com) Sina (新浪视频) (video.sina.com.cn) Sohu (搜狐视频) (tv.sohu.com) 56 (56网) Xiami (虾米) Baidu (百度音乐) (music.baidu.com) SongTaste I won’t try all, but just test it with YouKu and YouTube. First things first, let’s install it:
1 2 3 4 5 |
git clone git://github.com/soimort/you-get.git cd you-get sudo apt-get install python3 python3-setuptools ./you-get -V make install |
Time to go to youku.com and download a video:
1 2 3 4 5 6 7 8 |
you-get http://v.youku.com/v_show/id_XNTQ1OTk3NTAw.html Video Site: Youku.com Title: 1 second boot QT app in linux-sunxi with A10 Type: Flash video (video/x-flv) Size: 5.45 MB (5711001 Bytes) Downloading 1 second boot QT app in linux-sunxi with A10.flv ... 100.0% ( 5.4/5.4 MB) [========================================] 1/1 |
Success! […]