Skip to content

Instantly share code, notes, and snippets.

@fukayatsu
Created July 16, 2012 14:00
Show Gist options
  • Save fukayatsu/3122877 to your computer and use it in GitHub Desktop.
Save fukayatsu/3122877 to your computer and use it in GitHub Desktop.
猫画像取得スクリプト
# coding: utf-8
require 'bbs2ch'
menu = BBS2ch::Menu.new
board = menu.boards(/犬猫大好き/).first
threads = board.threads(/猫画像/)
threads.each do |thr|
thr.responses.each do |res|
res.images.each do |img|
puts img.url
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment