Skip to content

Instantly share code, notes, and snippets.

@maiha
Created March 7, 2009 13:31
Show Gist options
  • Save maiha/75326 to your computer and use it in GitHub Desktop.
Save maiha/75326 to your computer and use it in GitHub Desktop.
% irb -r lib/dm-ys -Ku
irb(main):001:0> cute = DataMapper::YS["http://www.utamap.com/fasearchkasi.php?page=0&sortname=3&artname=%A1%EE-ute&act=search*"]
=> #<Class:0xb78bf56c>
irb(main):002:0> cute.entries.map{|a| a[0]}
=> ["桜チラリ", "大きな愛でもてなして", "「忘れたくない夏」", "LA LA LA 幸せの歌", "めぐる恋の季節", "ほめられ伸び子のテーマ曲", "FOREVER LOVE", "美少女心理", "晴れのプラチナ通り", "涙の色", "ドドンガドン音頭", "都会っ子 純情", "ダーリンI LOVE YOU (℃-ute Ver.)", "セブンティーンズ VOW", "スイーーツ→→→ライブ", "JUMP", "私立共学", "最高級のエンジョイGIRLS", "越えろ!楽天イーグルス", "乙女COCORO", "江戸の手毬唄Ⅱ", "イメージカラー"]
irb(main):003:0> cute.first
=> #< id=1 ▲曲名▼="桜チラリ" 歌手="℃-ute" 作詞="つんく" 作曲="つんく" 歌いだし="桜チラリ" タイアップ情報="" CD="" DL="">
irb(main):004:0> cute.count
=> 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment