require 'tjcrawler' require 'pg' Tjcrawler.start_crawler do |config| config.db_setting = {adapter: 'postgresql', database: 'fc2'} config.css_selector = '.pager_box > a' config.threads = 5 end