module Ginspider
Constants
- VERSION
Public Class Methods
crawl(url, options = {})
click to toggle source
the api method to crawl a website, and get the basic response
# File lib/ginspider.rb, line 9 def Ginspider.crawl(url, options = {}) Main.crawl(url, options) end
links_of(url, options = {})
click to toggle source
the api method to get all links with url and options
# File lib/ginspider.rb, line 16 def Ginspider.links_of(url, options = {}) Main.links_of(url, options) end
text_of(url, options = {})
click to toggle source
the api method to get text with url and options
# File lib/ginspider.rb, line 23 def Ginspider.text_of(url, options = {}) Main.text_of(url, options) end