Sha256: bf9c2b4e5002f6b6bb9895e12a6e7b604850c259259f69755227005deb565e67
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 Bytes
Contents
require 'rubygems' require 'net/https' require 'nokogiri' require 'logger' require 'rawler/core_extensions' module Rawler VERSION = "#{File.read(File.expand_path(File.dirname(__FILE__)) + '/../VERSION')}" mattr_accessor :output mattr_accessor :url mattr_accessor :wait mattr_accessor :username, :password mattr_accessor :log mattr_accessor :css autoload :Base, "rawler/base" autoload :Crawler, "rawler/crawler" autoload :Request, "rawler/request" def self.url=(url) url.strip! if (url =~ /http[s]?:\/\//) != 0 url = 'http://' + url end @@url = url end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rawler-0.1.5 | lib/rawler.rb |