Sha256: f88c3368774f411b174be19772116967c9250ec3b55937e213c14ebe82df9f24

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

require 'rubygems'
require 'net/http'
require 'net/https'
require 'nokogiri'
require 'logger'

require 'rawler/core_extensions'

module Rawler
  VERSION = '0.0.9'
  
  mattr_accessor :output
  mattr_accessor :url
  
  mattr_accessor :username, :password
  
  autoload :Base, "rawler/base"
  autoload :Crawler, "rawler/crawler"
  autoload :Request, "rawler/request"

  def self.url=(url)
    url.strip!

    if (url =~ /http:\/\//) != 0
      url = 'http://' + url
    end

    @@url = url
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rawler-0.0.9 lib/rawler.rb