Sha256: 01302d358771adc06eb1a36f8d81f64a1cb5eed22c6c0fd2d4f122158505b700
Contents?: true
Size: 310 Bytes
Versions: 2
Compression:
Stored size: 310 Bytes
Contents
require 'tjcrawler' require 'pg' ActiveRecord::Base.establish_connection( adapter: 'postgresql', database: 'fc2' ) Tjcrawler::Page.enqueue 'http://video.fc2.com/list_scont/' threads = [] 5.times.each do threads << Thread.new{ Tjcrawler::Crawler.new('.pager_box > a').start } end threads.each(&:join)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tjcrawler-0.0.2 | examples/fc2.rb |
tjcrawler-0.0.1 | examples/fc2.rb |