webscraping_ai 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AIApi.md +2 -2
- data/lib/webscraping_ai/api/account_api.rb +1 -1
- data/lib/webscraping_ai/api/ai_api.rb +5 -5
- data/lib/webscraping_ai/api/html_api.rb +1 -1
- data/lib/webscraping_ai/api/selected_html_api.rb +1 -1
- data/lib/webscraping_ai/api/text_api.rb +1 -1
- data/lib/webscraping_ai/api_client.rb +1 -1
- data/lib/webscraping_ai/api_error.rb +1 -1
- data/lib/webscraping_ai/configuration.rb +1 -1
- data/lib/webscraping_ai/models/account.rb +1 -1
- data/lib/webscraping_ai/models/error.rb +1 -1
- data/lib/webscraping_ai/version.rb +2 -2
- data/lib/webscraping_ai.rb +1 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/ai_api_spec.rb +1 -1
- data/spec/api/html_api_spec.rb +1 -1
- data/spec/api/selected_html_api_spec.rb +1 -1
- data/spec/api/text_api_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/webscraping_ai.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9d5c09646212d1d2b3127a8ab58b7db3c400b725e696e2da3a6049d193d00b1
|
4
|
+
data.tar.gz: f0ef33b178203e092eb99c8f94a9a8b5acab23e09913ac01f09fdb1a36e08a60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7432ef958f2d51ced742d7c7b80e9662456e990e10eed9bbf3a95519253c8788746c9aa5c0cd3c8136c52adb41fac1b1de53b3abfa6daac9a6ca15419b2b780b
|
7
|
+
data.tar.gz: 8cf21004408e4dfa207d4f709ac81de2b2a2851f6c8b86ef2cdf5a28b7f88f3a826ba1ca8b87fb9c60a9e365521a99ffac1cbf8ced043abb3822c010a7357112
|
data/README.md
CHANGED
@@ -6,8 +6,8 @@ WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version: 3.1.
|
10
|
-
- Package version: 3.1.
|
9
|
+
- API version: 3.1.3
|
10
|
+
- Package version: 3.1.3
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://webscraping.ai](https://webscraping.ai)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build webscraping_ai.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./webscraping_ai-3.1.
|
27
|
+
gem install ./webscraping_ai-3.1.3.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./webscraping_ai-3.1.
|
30
|
+
(for development, run `gem install --dev ./webscraping_ai-3.1.3.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'webscraping_ai', '~> 3.1.
|
36
|
+
gem 'webscraping_ai', '~> 3.1.3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/AIApi.md
CHANGED
@@ -80,9 +80,9 @@ end
|
|
80
80
|
| ---- | ---- | ----------- | ----- |
|
81
81
|
| **url** | **String** | URL of the target page. | |
|
82
82
|
| **question** | **String** | Question or instructions to ask the LLM model about the target page. | [optional] |
|
83
|
-
| **context_limit** | **Integer** | Maximum number of tokens to use as context for the LLM model (4000 by default). | [optional][default to
|
83
|
+
| **context_limit** | **Integer** | Maximum number of tokens to use as context for the LLM model (4000 by default). | [optional][default to 4000] |
|
84
84
|
| **response_tokens** | **Integer** | Maximum number of tokens to return in the LLM model response. The total context size (context_limit) includes the question, the target page content and the response, so this parameter reserves tokens for the response (see also on_context_limit). | [optional][default to 100] |
|
85
|
-
| **on_context_limit** | **String** | What to do if the context_limit parameter is exceeded (truncate by default). The context is exceeded when the target page content is too long. | [optional][default to '
|
85
|
+
| **on_context_limit** | **String** | What to do if the context_limit parameter is exceeded (truncate by default). The context is exceeded when the target page content is too long. | [optional][default to 'error'] |
|
86
86
|
| **headers** | [**Hash<String, String>**](String.md) | HTTP headers to pass to the target page. Can be specified either via a nested query parameter (...&headers[One]=value1&headers=[Another]=value2) or as a JSON encoded object (...&headers={\"One\": \"value1\", \"Another\": \"value2\"}). | [optional] |
|
87
87
|
| **timeout** | **Integer** | Maximum web page retrieval time in ms. Increase it in case of timeout errors (10000 by default, maximum is 30000). | [optional][default to 10000] |
|
88
88
|
| **js** | **Boolean** | Execute on-page JavaScript using a headless browser (true by default). | [optional][default to true] |
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -24,9 +24,9 @@ module WebScrapingAI
|
|
24
24
|
# @param url [String] URL of the target page.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :question Question or instructions to ask the LLM model about the target page.
|
27
|
-
# @option opts [Integer] :context_limit Maximum number of tokens to use as context for the LLM model (4000 by default). (default to
|
27
|
+
# @option opts [Integer] :context_limit Maximum number of tokens to use as context for the LLM model (4000 by default). (default to 4000)
|
28
28
|
# @option opts [Integer] :response_tokens Maximum number of tokens to return in the LLM model response. The total context size (context_limit) includes the question, the target page content and the response, so this parameter reserves tokens for the response (see also on_context_limit). (default to 100)
|
29
|
-
# @option opts [String] :on_context_limit What to do if the context_limit parameter is exceeded (truncate by default). The context is exceeded when the target page content is too long. (default to '
|
29
|
+
# @option opts [String] :on_context_limit What to do if the context_limit parameter is exceeded (truncate by default). The context is exceeded when the target page content is too long. (default to 'error')
|
30
30
|
# @option opts [Hash<String, String>] :headers HTTP headers to pass to the target page. Can be specified either via a nested query parameter (...&headers[One]=value1&headers=[Another]=value2) or as a JSON encoded object (...&headers={\"One\": \"value1\", \"Another\": \"value2\"}).
|
31
31
|
# @option opts [Integer] :timeout Maximum web page retrieval time in ms. Increase it in case of timeout errors (10000 by default, maximum is 30000). (default to 10000)
|
32
32
|
# @option opts [Boolean] :js Execute on-page JavaScript using a headless browser (true by default). (default to true)
|
@@ -48,9 +48,9 @@ module WebScrapingAI
|
|
48
48
|
# @param url [String] URL of the target page.
|
49
49
|
# @param [Hash] opts the optional parameters
|
50
50
|
# @option opts [String] :question Question or instructions to ask the LLM model about the target page.
|
51
|
-
# @option opts [Integer] :context_limit Maximum number of tokens to use as context for the LLM model (4000 by default). (default to
|
51
|
+
# @option opts [Integer] :context_limit Maximum number of tokens to use as context for the LLM model (4000 by default). (default to 4000)
|
52
52
|
# @option opts [Integer] :response_tokens Maximum number of tokens to return in the LLM model response. The total context size (context_limit) includes the question, the target page content and the response, so this parameter reserves tokens for the response (see also on_context_limit). (default to 100)
|
53
|
-
# @option opts [String] :on_context_limit What to do if the context_limit parameter is exceeded (truncate by default). The context is exceeded when the target page content is too long. (default to '
|
53
|
+
# @option opts [String] :on_context_limit What to do if the context_limit parameter is exceeded (truncate by default). The context is exceeded when the target page content is too long. (default to 'error')
|
54
54
|
# @option opts [Hash<String, String>] :headers HTTP headers to pass to the target page. Can be specified either via a nested query parameter (...&headers[One]=value1&headers=[Another]=value2) or as a JSON encoded object (...&headers={\"One\": \"value1\", \"Another\": \"value2\"}).
|
55
55
|
# @option opts [Integer] :timeout Maximum web page retrieval time in ms. Increase it in case of timeout errors (10000 by default, maximum is 30000). (default to 10000)
|
56
56
|
# @option opts [Boolean] :js Execute on-page JavaScript using a headless browser (true by default). (default to true)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.2.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module WebScrapingAI
|
14
|
-
VERSION = '3.1.
|
14
|
+
VERSION = '3.1.3'
|
15
15
|
end
|
data/lib/webscraping_ai.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/spec/api/ai_api_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/spec/api/html_api_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/spec/api/text_api_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/spec/models/account_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/spec/models/error_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/spec/spec_helper.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
6
|
+
The version of the OpenAPI document: 3.1.3
|
7
7
|
Contact: support@webscraping.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.2.0
|
data/webscraping_ai.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#WebScraping.AI scraping API provides GPT-powered tools with Chromium JavaScript rendering, rotating proxies, and built-in HTML parsing.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 3.1.
|
8
|
+
The version of the OpenAPI document: 3.1.3
|
9
9
|
Contact: support@webscraping.ai
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 7.2.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webscraping_ai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WebScraping.AI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|