Created
July 16, 2012 14:00
-
-
Save fukayatsu/3122877 to your computer and use it in GitHub Desktop.
猫画像取得スクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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