Module: Probe

Defined in:
lib/domain-probe.rb,
lib/domain-probe/util.rb,
lib/domain-probe/policy.rb,
lib/domain-probe/version.rb,
lib/domain-probe/crawling_policy.rb,
lib/domain-probe/guessing_policy.rb,
lib/domain-probe/thread_executor.rb

Defined Under Namespace

Classes: CrawlingPolicy, DomainProbe, GuessingPolicy, Policy, ThreadExecutor, Util

Constant Summary collapse

WWW_PREFIX =

const declaration

"www."
VERSION =
"2.0.0"
DOUBLE_SLASH_LENGTH =

consts

2
TAG_NAME_A =
"a".freeze
TAG_NAME_SCRIPT =
"script".freeze
TAG_NAME_IMG =
"img".freeze
TAG_NAME_FORM =
"form".freeze
ATTR_NAME_SRC =
"src".freeze
ATTR_NAME_ACTION =
"action".freeze
ATTR_NAME_HREF =
"href".freeze
COMMON_NAMES =

Popular host names, in alphabetic order

%w{
  ad
  ads
  api
  app
  application
  apps
  ask
  asset
  assets
  au
  auto
  
  baby
  bbs
  biz
  blog
  build
  cal
  calendar
  cards
  client
  club
  college
  date
  dev
  develop
  developer
  dictionary
  dir
  direct
  discovery
  ditu
  docs
  download
  downloads
  email
  english
  events
  feed
  finance
  food
  fresh
  ftp
  help
  home
  hr
  image
  images
  imap
  
  info
  ip
  iphone
  local
  log
  login
  love
  m
  mail
  map
  maps
  media
  message
  messages
  mon
  money
  monitor
  mp3
  news
  operation
  operations
  page
  pages
  php
  play
  plus
  pops
  production
  qa
  read
  repo
  resource
  resources
  sg
  shop
  shopping
  sms
  smtp
  sports
  staging
  static
  stats
  status
  studios
  support
  trading
  video
  view
  vip
  web
  webmail
  wiki
  wireless
  www
  www1
}

Instance Method Summary collapse

Instance Method Details

#collect_ns_records(domain) ⇒ Object



170
171
172
# File 'lib/domain-probe.rb', line 170

def collect_ns_records domain 
  DomainProbe.collect_ns_records domain
end

#collect_records(domain) ⇒ Object



166
167
168
# File 'lib/domain-probe.rb', line 166

def collect_records domain 
  DomainProbe.collect_records domain
end