ethon-impersonate 0.17.8-x86_64-linux → 0.17.9-x86_64-linux

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: c20f711f0aa500b837a4ad508f7935979bd4a86ed577834f7c43f880e3dcde63
4
- data.tar.gz: a57ab887afeb1fad2e7935faea92dc5905174a395b42204a39d8a49007b587f2
3
+ metadata.gz: d646935c2a49e2641bfc3c02ccc758be2ba4688bb88f9f8750da4517da75d991
4
+ data.tar.gz: 5599996b82ffd6c5e7371ff635125716715cd2897a3ce936abbeb4766b254804
5
5
  SHA512:
6
- metadata.gz: 2faac26182de705bfaa4f5beb9b85b126a03a9358d8a53d6e569be37845e27d1e04ecf324161e3fbfcca20a75a14e31872541e027c2d6997257bd4b53559f034
7
- data.tar.gz: 839382d745eada6022caa13b786746aac2304707ec4c749d760682973ce343c287bd030fe83579d330c158199ee5bb24c5562b9f12554ddcfff16687025403d1
6
+ metadata.gz: 23e9c3c9dbbe66497bcd8537d264d21817f4425e07e554ddc0621028ebde14e1c1e0ba664805a2b134d50c6edf0b7fe3e70aaff550ea132738f1c75bd1cc3c5a
7
+ data.tar.gz: b51495075dfe255856eeae9fd3a9ab40a4dd75c475aeacdbf4f4dbcab04daff3281ce226caad36f1825a26d277603e8b1f818022dc94bfef93c7401ce2f0a6e7
data/CHANGELOG.md CHANGED
@@ -2,7 +2,19 @@
2
2
 
3
3
  ## Master
4
4
 
5
- [Full Changelog](https://github.com/dsojevic/ethon-impersonate/compare/v0.16.0...master)
5
+ [Full Changelog](https://github.com/dsojevic/ethon-impersonate/compare/v0.17.9...master)
6
+
7
+ ## 0.17.9
8
+
9
+ [Full Changelog](https://github.com/dsojevic/ethon-impersonate/compare/v0.17.8...v0.17.9)
10
+
11
+ * Bumped [`curl-impersonate`](https://github.com/lexiforest/curl-impersonate) to `v1.0.0`
12
+
13
+ ## 0.17.8
14
+
15
+ [Full Changelog](https://github.com/dsojevic/ethon-impersonate/compare/v0.16.0...v0.17.8)
16
+
17
+ * Added basic support for [`curl-impersonate`](https://github.com/lexiforest/curl-impersonate) @ `v1.0.0rc1`
6
18
 
7
19
  ## 0.16.0
8
20
 
Binary file
@@ -25,7 +25,11 @@ module EthonImpersonate
25
25
  headers ||= {}
26
26
  header_list = nil
27
27
  headers.each do |k, v|
28
- header_list = Curl.slist_append(header_list, compose_header(k,v))
28
+ v_list = v.is_a?(Array) ? v : [v]
29
+
30
+ v_list.each do |v_item|
31
+ header_list = Curl.slist_append(header_list, compose_header(k,v_item))
32
+ end
29
33
  end
30
34
  Curl.set_option(:httpheader, header_list, handle)
31
35
 
@@ -6,7 +6,7 @@ require "ffi/platform"
6
6
  module EthonImpersonate
7
7
  module Impersonate
8
8
  module Settings
9
- LIB_VERSION = "1.0.0rc1"
9
+ LIB_VERSION = "1.0.0"
10
10
  LIB_EXT_PATH = File.expand_path("../../ext/", File.dirname(__dir__))
11
11
 
12
12
  LIB_DOWNLOAD_BASE_URL = "https://github.com/lexiforest/curl-impersonate/releases/download/v#{LIB_VERSION}/"
@@ -21,6 +21,7 @@ module EthonImpersonate
21
21
  "chrome124",
22
22
  "chrome131",
23
23
  "chrome133a",
24
+ "chrome136",
24
25
  ].freeze
25
26
 
26
27
  CHROME_TARGETS = [
@@ -39,15 +40,17 @@ module EthonImpersonate
39
40
  ].freeze
40
41
 
41
42
  SAFARI_MOBILE_TARGETS = [
42
- "safari17_2_ios",
43
- "safari18_0_ios",
43
+ "safari172_ios",
44
+ "safari180_ios",
45
+ "safari184_ios",
44
46
  ].freeze
45
47
 
46
48
  SAFARI_DESKTOP_TARGETS = [
47
- "safari15_3",
48
- "safari15_5",
49
- "safari17_0",
50
- "safari18_0",
49
+ "safari153",
50
+ "safari155",
51
+ "safari170",
52
+ "safari180",
53
+ "safari184",
51
54
  ].freeze
52
55
 
53
56
  SAFARI_TARGETS = [
@@ -55,11 +58,16 @@ module EthonImpersonate
55
58
  *SAFARI_DESKTOP_TARGETS,
56
59
  ].freeze
57
60
 
61
+ TOR_TARGETS = [
62
+ "tor145",
63
+ ].freeze
64
+
58
65
  ALL_TARGETS = [
59
- *EDGE_TARGETS,
60
66
  *CHROME_TARGETS,
61
- *SAFARI_TARGETS,
67
+ *EDGE_TARGETS,
62
68
  *FIREFOX_TARGETS,
69
+ *SAFARI_TARGETS,
70
+ *TOR_TARGETS,
63
71
  ].freeze
64
72
 
65
73
  ALIASES = {
@@ -69,6 +77,7 @@ module EthonImpersonate
69
77
  "firefox" => FIREFOX_TARGETS.last,
70
78
  "safari" => SAFARI_DESKTOP_TARGETS.last,
71
79
  "safari_ios" => SAFARI_MOBILE_TARGETS.last,
80
+ "tor" => TOR_TARGETS.last,
72
81
  }.freeze
73
82
 
74
83
  BROWSERS = [
@@ -76,6 +85,7 @@ module EthonImpersonate
76
85
  *EDGE_TARGETS,
77
86
  *FIREFOX_TARGETS,
78
87
  *SAFARI_TARGETS,
88
+ *TOR_TARGETS,
79
89
  *ALIASES.keys,
80
90
  ].freeze
81
91
 
@@ -2,5 +2,5 @@
2
2
  module EthonImpersonate
3
3
 
4
4
  # EthonImpersonate version.
5
- VERSION = "0.17.8"
5
+ VERSION = "0.17.9"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethon-impersonate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.8
4
+ version: 0.17.9
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - David Sojevic
8
8
  - Hans Hasselberg
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-17 00:00:00.000000000 Z
11
+ date: 2025-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi