Class: Crawlberg::CrawlPageResult
- Inherits:
-
Object
- Object
- Crawlberg::CrawlPageResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#body_size ⇒ Integer?
Returns the value of attribute body_size.
-
#browser_used ⇒ Boolean?
Returns the value of attribute browser_used.
-
#content_type ⇒ String?
Returns the value of attribute content_type.
-
#depth ⇒ Integer?
Returns the value of attribute depth.
-
#detected_charset ⇒ String?
Returns the value of attribute detected_charset.
-
#downloaded_document ⇒ DownloadedDocument?
Returns the value of attribute downloaded_document.
-
#extracted_data ⇒ json_value?
Returns the value of attribute extracted_data.
-
#extraction_meta ⇒ ExtractionMeta?
Returns the value of attribute extraction_meta.
-
#feeds ⇒ Array[FeedInfo]?
Returns the value of attribute feeds.
-
#html ⇒ String?
Returns the value of attribute html.
-
#images ⇒ Array[ImageInfo]?
Returns the value of attribute images.
-
#is_pdf ⇒ Boolean?
Returns the value of attribute is_pdf.
-
#json_ld ⇒ Array[JsonLdEntry]?
Returns the value of attribute json_ld.
-
#links ⇒ Array[LinkInfo]?
Returns the value of attribute links.
-
#markdown ⇒ MarkdownResult?
Returns the value of attribute markdown.
-
#metadata ⇒ PageMetadata?
Returns the value of attribute metadata.
-
#normalized_url ⇒ String?
Returns the value of attribute normalized_url.
-
#status_code ⇒ Integer?
Returns the value of attribute status_code.
-
#stayed_on_domain ⇒ Boolean?
Returns the value of attribute stayed_on_domain.
-
#url ⇒ String?
Returns the value of attribute url.
-
#was_skipped ⇒ Boolean?
Returns the value of attribute was_skipped.
Instance Method Summary collapse
-
#initialize ⇒ CrawlPageResult
constructor
A new instance of CrawlPageResult.
Constructor Details
#initialize ⇒ CrawlPageResult
Returns a new instance of CrawlPageResult.
215 |
# File 'sig/types.rbs', line 215
def initialize: (?url: String, ?normalized_url: String, ?status_code: Integer, ?content_type: String, ?html: String, ?body_size: Integer, ?metadata: PageMetadata, ?links: Array[LinkInfo], ?images: Array[ImageInfo], ?feeds: Array[FeedInfo], ?json_ld: Array[JsonLdEntry], ?depth: Integer, ?stayed_on_domain: bool, ?was_skipped: bool, ?is_pdf: bool, ?detected_charset: String, ?markdown: MarkdownResult, ?extracted_data: json_value, ?extraction_meta: ExtractionMeta, ?downloaded_document: DownloadedDocument, ?browser_used: bool) -> void
|
Instance Attribute Details
#body_size ⇒ Integer?
Returns the value of attribute body_size.
198 199 200 |
# File 'sig/types.rbs', line 198 def body_size @body_size end |
#browser_used ⇒ Boolean?
Returns the value of attribute browser_used.
213 214 215 |
# File 'sig/types.rbs', line 213 def browser_used @browser_used end |
#content_type ⇒ String?
Returns the value of attribute content_type.
196 197 198 |
# File 'sig/types.rbs', line 196 def content_type @content_type end |
#depth ⇒ Integer?
Returns the value of attribute depth.
204 205 206 |
# File 'sig/types.rbs', line 204 def depth @depth end |
#detected_charset ⇒ String?
Returns the value of attribute detected_charset.
208 209 210 |
# File 'sig/types.rbs', line 208 def detected_charset @detected_charset end |
#downloaded_document ⇒ DownloadedDocument?
Returns the value of attribute downloaded_document.
212 213 214 |
# File 'sig/types.rbs', line 212 def downloaded_document @downloaded_document end |
#extracted_data ⇒ json_value?
Returns the value of attribute extracted_data.
210 211 212 |
# File 'sig/types.rbs', line 210 def extracted_data @extracted_data end |
#extraction_meta ⇒ ExtractionMeta?
Returns the value of attribute extraction_meta.
211 212 213 |
# File 'sig/types.rbs', line 211 def @extraction_meta end |
#feeds ⇒ Array[FeedInfo]?
Returns the value of attribute feeds.
202 203 204 |
# File 'sig/types.rbs', line 202 def feeds @feeds end |
#html ⇒ String?
Returns the value of attribute html.
197 198 199 |
# File 'sig/types.rbs', line 197 def html @html end |
#images ⇒ Array[ImageInfo]?
Returns the value of attribute images.
201 202 203 |
# File 'sig/types.rbs', line 201 def images @images end |
#is_pdf ⇒ Boolean?
Returns the value of attribute is_pdf.
207 208 209 |
# File 'sig/types.rbs', line 207 def is_pdf @is_pdf end |
#json_ld ⇒ Array[JsonLdEntry]?
Returns the value of attribute json_ld.
203 204 205 |
# File 'sig/types.rbs', line 203 def json_ld @json_ld end |
#links ⇒ Array[LinkInfo]?
Returns the value of attribute links.
200 201 202 |
# File 'sig/types.rbs', line 200 def links @links end |
#markdown ⇒ MarkdownResult?
Returns the value of attribute markdown.
209 210 211 |
# File 'sig/types.rbs', line 209 def markdown @markdown end |
#metadata ⇒ PageMetadata?
Returns the value of attribute metadata.
199 200 201 |
# File 'sig/types.rbs', line 199 def @metadata end |
#normalized_url ⇒ String?
Returns the value of attribute normalized_url.
194 195 196 |
# File 'sig/types.rbs', line 194 def normalized_url @normalized_url end |
#status_code ⇒ Integer?
Returns the value of attribute status_code.
195 196 197 |
# File 'sig/types.rbs', line 195 def status_code @status_code end |
#stayed_on_domain ⇒ Boolean?
Returns the value of attribute stayed_on_domain.
205 206 207 |
# File 'sig/types.rbs', line 205 def stayed_on_domain @stayed_on_domain end |
#url ⇒ String?
Returns the value of attribute url.
193 194 195 |
# File 'sig/types.rbs', line 193 def url @url end |
#was_skipped ⇒ Boolean?
Returns the value of attribute was_skipped.
206 207 208 |
# File 'sig/types.rbs', line 206 def was_skipped @was_skipped end |