oracle datafile and tablespace
2011-06-26 19:47
549 查看
之前
的版本存在中文路径乱码现象。发现是open-uri的问题。改用net/http,问题解决。
样例输出如下:
...
14. 薛之谦 - 传说
http://www.hmdt.cn/hm_fm103/upfiles/排行榜/音乐排行榜(内地)/传说%20%20薛之谦.mp3 http://image.fotoever.com/PhotoServer01/Blog/Music/1135313/6152008120118AM30981.mp3 ...
27. 袁泉 - 宝宝睡
http://www.hmdt.cn/hm_fm103/upfiles/排行榜/音乐排行榜(内地)/袁泉%20《寶寶%20睡》.mp3 http://gggggg.lzwu.com/xo0J0/kup/6621_24726/46621.wma ...
的版本存在中文路径乱码现象。发现是open-uri的问题。改用net/http,问题解决。
urls[0..1].each do |url| # 这里控制每首歌的链接数 page = Net::HTTP.get(URI.parse(URI.encode(url))) os << decode(unicode.iconv($1)) << "\n" if page =~ /var .="(.*)",J/ end
样例输出如下:
...
14. 薛之谦 - 传说
http://www.hmdt.cn/hm_fm103/upfiles/排行榜/音乐排行榜(内地)/传说%20%20薛之谦.mp3 http://image.fotoever.com/PhotoServer01/Blog/Music/1135313/6152008120118AM30981.mp3 ...
27. 袁泉 - 宝宝睡
http://www.hmdt.cn/hm_fm103/upfiles/排行榜/音乐排行榜(内地)/袁泉%20《寶寶%20睡》.mp3 http://gggggg.lzwu.com/xo0J0/kup/6621_24726/46621.wma ...
相关文章推荐
- manage tablespace and datafile
- Oracle Bigfile Tablespace and Smallfile Tablespace
- Oracle:Tablespace & Datafile
- Oracle Study Note : Tablespace and Data Files
- oracle tablespace&datafile -- oracle表空间
- All about oracle smallfile and bigfile tablespace
- redolog and tablespace and datafile
- oracle tablespace datafile入门1
- ORACLE-基础六(TABLESPACE AND DataFiles)
- List tables and their corresponding tablespace name and data file
- alter database datafile offline drop 与 alter tablespace drop datafile 区别
- Oracle Bigfile Tablespace大文件表空间
- Chapter 08–Maintaining Tablespace and Data files
- Manage Undo tablespace (datafile + v$rollstat + 01555)
- alter database datafile offline drop 与 alter tablespace drop datafile 区别
- alter database datafile offline drop 与 alter tablespace drop datafile 区别
- oracle create tablespace、user and grant
- 14.5.5 Creating a File-Per-Table Tablespace Outside the Data Directory
- Trace file and Default tablespace
- 14.5.5 Creating a File-Per-Table Tablespace Outside the Data Directory