Class: Ginspider::Main
- Inherits:
-
Object
- Object
- Ginspider::Main
- Defined in:
- lib/ginspider/main.rb
Class Method Summary collapse
-
.crawl(url, options = {}) ⇒ Object
get the basic response.
-
.crawl_with_noko(url, options = {}) ⇒ Object
define the main crawler.
-
.links_of(url, options = {}) ⇒ Object
define the main method to get all links.
Class Method Details
.crawl(url, options = {}) ⇒ Object
get the basic response
13 14 15 16 |
# File 'lib/ginspider/main.rb', line 13 def self.crawl(url, = {}) basic_res = basic_res(url) ap basic_res end |