Module: GScraper::Search
- Defined in:
- lib/gscraper/search/page.rb,
lib/gscraper/search/query.rb,
lib/gscraper/search/result.rb,
lib/gscraper/search/search.rb,
lib/gscraper/search/web_query.rb,
lib/gscraper/search/ajax_query.rb,
lib/gscraper/search/exceptions/blocked.rb
Defined Under Namespace
Classes: AJAXQuery, Blocked, Page, Query, Result, WebQuery
Class Method Summary collapse
-
.ajax_query(options = {}) {|query| ... } ⇒ Object
Creates a new AJAX query.
-
.ajax_query_from_url(url) {|query| ... } ⇒ Object
Creates a AJAX query from a given search URL.
-
.query(options = {}) {|query| ... } ⇒ WebQuery
Creates a new web-query.
-
.query_from_url(url) {|query| ... } ⇒ WebQuery
Creates a web-query from a search URL.
Class Method Details
.ajax_query(options = {}) {|query| ... } ⇒ Object
Creates a new AJAX query.
102 103 104 |
# File 'lib/gscraper/search/search.rb', line 102 def Search.ajax_query(={},&block) AJAXQuery.new(,&block) end |
.ajax_query_from_url(url) {|query| ... } ⇒ Object
Creates a AJAX query from a given search URL.
120 121 122 |
# File 'lib/gscraper/search/search.rb', line 120 def Search.ajax_query_from_url(url,&block) AJAXQuery.from_url(url,&block) end |