Class: Crawlberg::CrawlResult
- Inherits:
-
Object
- Object
- Crawlberg::CrawlResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#browser_used ⇒ Boolean?
Returns the value of attribute browser_used.
-
#cookies ⇒ Array[CookieInfo]?
Returns the value of attribute cookies.
-
#error ⇒ String?
Returns the value of attribute error.
-
#final_url ⇒ String?
Returns the value of attribute final_url.
-
#pages ⇒ Array[CrawlPageResult]?
Returns the value of attribute pages.
-
#redirect_count ⇒ Integer?
Returns the value of attribute redirect_count.
-
#stayed_on_domain ⇒ Boolean?
Returns the value of attribute stayed_on_domain.
-
#was_skipped ⇒ Boolean?
Returns the value of attribute was_skipped.
Instance Method Summary collapse
-
#initialize ⇒ CrawlResult
constructor
A new instance of CrawlResult.
- #unique_normalized_urls ⇒ Integer
Constructor Details
#initialize ⇒ CrawlResult
Returns a new instance of CrawlResult.
228 |
# File 'sig/types.rbs', line 228
def initialize: (?pages: Array[CrawlPageResult], ?final_url: String, ?redirect_count: Integer, ?was_skipped: bool, ?error: String, ?cookies: Array[CookieInfo], ?stayed_on_domain: bool, ?browser_used: bool) -> void
|
Instance Attribute Details
#browser_used ⇒ Boolean?
Returns the value of attribute browser_used.
226 227 228 |
# File 'sig/types.rbs', line 226 def browser_used @browser_used end |
#cookies ⇒ Array[CookieInfo]?
Returns the value of attribute cookies.
224 225 226 |
# File 'sig/types.rbs', line 224 def @cookies end |
#error ⇒ String?
Returns the value of attribute error.
223 224 225 |
# File 'sig/types.rbs', line 223 def error @error end |
#final_url ⇒ String?
Returns the value of attribute final_url.
220 221 222 |
# File 'sig/types.rbs', line 220 def final_url @final_url end |
#pages ⇒ Array[CrawlPageResult]?
Returns the value of attribute pages.
219 220 221 |
# File 'sig/types.rbs', line 219 def pages @pages end |
#redirect_count ⇒ Integer?
Returns the value of attribute redirect_count.
221 222 223 |
# File 'sig/types.rbs', line 221 def redirect_count @redirect_count end |
#stayed_on_domain ⇒ Boolean?
Returns the value of attribute stayed_on_domain.
225 226 227 |
# File 'sig/types.rbs', line 225 def stayed_on_domain @stayed_on_domain end |
#was_skipped ⇒ Boolean?
Returns the value of attribute was_skipped.
222 223 224 |
# File 'sig/types.rbs', line 222 def was_skipped @was_skipped end |
Instance Method Details
#unique_normalized_urls ⇒ Integer
229 |
# File 'sig/types.rbs', line 229
def unique_normalized_urls: () -> Integer
|