apiverve_webscreenshots 1.2.4 → 1.2.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d6b7bdefac0eead5453397eed94489c22037b3ca1c2f55a8f765d374c314e1d
4
- data.tar.gz: ca1f59c3559fd89e9d741bff9e9e80b51eca79437fad402f8f179b28cfc8572a
3
+ metadata.gz: ec5f9d7d9badefb7a72f9ddd2aaf5beb96bf6568c254a4a78c8c383367d453d2
4
+ data.tar.gz: 4b4e9c7ea45f932f7efc0a1cc0ad72badbf2ffa35e4d6fde091437c61e033d60
5
5
  SHA512:
6
- metadata.gz: e9a3000cbe5e8de5fe526c4a95f1d2721fd22183e9ff5df995006e74f46b906227e0f6fe2e242bbb2b56eab69b52f1bd25eac519988d8d98f7a91ca1015e67ff
7
- data.tar.gz: 2109c86fdb83ea3be4d2cd68ac4c6b6749e1504bdc090f96439585dd4d01f5eeb831cc9f313a9cb8ffe13c6589fa3144cec7ce42bb15a0f4f194102834b48431
6
+ metadata.gz: cd10f33334848db92011a120413aa6168607d4ba035cb44bc56d5709a5d08543e047e8311219991bf9e9d5069545896fae340cbc5f2f2999c29c91aeacf179c7
7
+ data.tar.gz: 9894f3e61b737142a35e575baf44686e3ece20ea41818c76ddcba91fc0d3be27f2ea647b07843015006091c880b43bf885c56afce9ec5d1948429b0efe6ac463
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Website Screenshot API - Ruby Gem
2
2
 
3
- Website Screenshot renders webpage screenshots from any URL into PNG, JPEG, or WebP format. It returns a signed download link with an expiration timestamp, supporting custom viewport dimensions up to 3840 pixels wide.
3
+ Website Screenshot renders webpage screenshots from any URL as PNG, JPEG or WebP, with ads blocked and cookie notices dismissed. It returns a signed download link with an expiration timestamp, supporting custom viewport dimensions up to 3840 pixels wide, single-element capture by CSS selector, a capture delay, a page-load wait strategy and JPEG or WebP quality.
4
4
 
5
5
  ## Installation
6
6
 
@@ -19,7 +19,7 @@ module APIVerve
19
19
  DEFAULT_TIMEOUT = 30
20
20
 
21
21
  # Validation rules for parameters
22
- VALIDATION_RULES = { 'url' => { type: 'string', required: true, format: 'url' }, 'type' => { type: 'string', required: false }, 'width' => { type: 'number', required: false, min: 100, max: 3840 }, 'height' => { type: 'number', required: false, min: 100, max: 3840 }, 'fullpage' => { type: 'boolean', required: false } }
22
+ VALIDATION_RULES = { 'url' => { type: 'string', required: true, format: 'url' }, 'type' => { type: 'string', required: false }, 'width' => { type: 'number', required: false, min: 100, max: 3840 }, 'height' => { type: 'number', required: false, min: 100, max: 3840 }, 'fullpage' => { type: 'boolean', required: false }, 'selector' => { type: 'string', required: false, max_length: 200 }, 'delay' => { type: 'number', required: false, min: 0, max: 5000 }, 'waituntil' => { type: 'string', required: false }, 'quality' => { type: 'number', required: false, min: 1, max: 100 } }
23
23
 
24
24
  # Format validation patterns
25
25
  FORMAT_PATTERNS = {
@@ -4,6 +4,6 @@ require_relative "apiverve_webscreenshots/client"
4
4
 
5
5
  module APIVerve
6
6
  module Webscreenshots
7
- VERSION = "1.2.4"
7
+ VERSION = "1.2.5"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiverve_webscreenshots
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIVerve
@@ -57,9 +57,11 @@ dependencies:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
59
  version: '2.0'
60
- description: Website Screenshot renders webpage screenshots from any URL into PNG,
61
- JPEG, or WebP format. It returns a signed download link with an expiration timestamp,
62
- supporting custom viewport dimensions up to 3840 pixels wide.
60
+ description: Website Screenshot renders webpage screenshots from any URL as PNG, JPEG
61
+ or WebP, with ads blocked and cookie notices dismissed. It returns a signed download
62
+ link with an expiration timestamp, supporting custom viewport dimensions up to 3840
63
+ pixels wide, single-element capture by CSS selector, a capture delay, a page-load
64
+ wait strategy and JPEG or WebP quality.
63
65
  email:
64
66
  - hello@apiverve.com
65
67
  executables: []