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.
219 |
# File 'sig/types.rbs', line 219
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.
217 218 219 |
# File 'sig/types.rbs', line 217 def browser_used @browser_used end |
#cookies ⇒ Array[CookieInfo]?
Returns the value of attribute cookies.
215 216 217 |
# File 'sig/types.rbs', line 215 def @cookies end |
#error ⇒ String?
Returns the value of attribute error.
214 215 216 |
# File 'sig/types.rbs', line 214 def error @error end |
#final_url ⇒ String?
Returns the value of attribute final_url.
211 212 213 |
# File 'sig/types.rbs', line 211 def final_url @final_url end |
#pages ⇒ Array[CrawlPageResult]?
Returns the value of attribute pages.
210 211 212 |
# File 'sig/types.rbs', line 210 def pages @pages end |
#redirect_count ⇒ Integer?
Returns the value of attribute redirect_count.
212 213 214 |
# File 'sig/types.rbs', line 212 def redirect_count @redirect_count end |
#stayed_on_domain ⇒ Boolean?
Returns the value of attribute stayed_on_domain.
216 217 218 |
# File 'sig/types.rbs', line 216 def stayed_on_domain @stayed_on_domain end |
#was_skipped ⇒ Boolean?
Returns the value of attribute was_skipped.
213 214 215 |
# File 'sig/types.rbs', line 213 def was_skipped @was_skipped end |
Instance Method Details
#unique_normalized_urls ⇒ Integer
220 |
# File 'sig/types.rbs', line 220
def unique_normalized_urls: () -> Integer
|