rubycrawl 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,7 +99,7 @@ class RubyCrawl
99
99
  raw_text: raw_text.to_s,
100
100
  clean_html: content['cleanHtml'].to_s,
101
101
  links: Array(links),
102
- metadata: { 'final_url' => final_url }.merge(metadata || {})
102
+ metadata: { 'final_url' => final_url, 'extractor' => content['extractor'] }.merge(metadata || {})
103
103
  )
104
104
  end
105
105
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RubyCrawl
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycrawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - RubyCrawl contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-16 00:00:00.000000000 Z
11
+ date: 2026-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ferrum
@@ -52,6 +52,7 @@ files:
52
52
  - lib/rubycrawl.rb
53
53
  - lib/rubycrawl/browser.rb
54
54
  - lib/rubycrawl/browser/extraction.rb
55
+ - lib/rubycrawl/browser/readability.js
55
56
  - lib/rubycrawl/errors.rb
56
57
  - lib/rubycrawl/helpers.rb
57
58
  - lib/rubycrawl/markdown_converter.rb