youtube_parser 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/lib/youtube_parser/channels/about_section.rb +1 -0
- data/lib/youtube_parser/client.rb +1 -0
- data/lib/youtube_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37de03ca4cf583c72ed032b32f6a69afa8e67562a85cadd753a73e8cff2b3754
|
4
|
+
data.tar.gz: 4c2dc703e0cf7c954bf48b2e3d5413ed15b693a9282517b7381de11f22092e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0c46db11b78fdc4ac1346ea44e67fbdc05ab2417b536e1e588177c3f3d5b4e30fdf57cf523b32b554960b6d966ec8addec3d2e0dd97b35c12dcbc9b855d0a68
|
7
|
+
data.tar.gz: 304fb644a213c32686c5ce13162a0a5c8dd8c510cefb9d9a331bde8dd1725cdf9ac5535d9db1f0fa8d7c2dd4ad22c63c83c40bdae8c053be1dee5a280fdb3d45
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
youtube_parser (0.1.
|
4
|
+
youtube_parser (0.1.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -12,8 +12,8 @@ GEM
|
|
12
12
|
minitest (~> 5.1)
|
13
13
|
tzinfo (~> 1.1)
|
14
14
|
zeitwerk (~> 2.2)
|
15
|
-
addressable (2.
|
16
|
-
public_suffix (>= 2.0.2, <
|
15
|
+
addressable (2.7.0)
|
16
|
+
public_suffix (>= 2.0.2, < 5.0)
|
17
17
|
byebug (11.0.1)
|
18
18
|
concurrent-ruby (1.1.5)
|
19
19
|
crack (0.4.3)
|
@@ -21,13 +21,13 @@ GEM
|
|
21
21
|
diff-lcs (1.3)
|
22
22
|
faraday (0.17.1)
|
23
23
|
multipart-post (>= 1.2, < 3)
|
24
|
-
hashdiff (0.
|
24
|
+
hashdiff (1.0.0)
|
25
25
|
i18n (1.7.0)
|
26
26
|
concurrent-ruby (~> 1.0)
|
27
27
|
minitest (5.13.0)
|
28
28
|
multipart-post (2.1.1)
|
29
29
|
oj (3.9.2)
|
30
|
-
public_suffix (
|
30
|
+
public_suffix (4.0.2)
|
31
31
|
rake (10.5.0)
|
32
32
|
rspec (3.9.0)
|
33
33
|
rspec-core (~> 3.9.0)
|
@@ -42,14 +42,14 @@ GEM
|
|
42
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
43
|
rspec-support (~> 3.9.0)
|
44
44
|
rspec-support (3.9.0)
|
45
|
-
safe_yaml (1.0.
|
45
|
+
safe_yaml (1.0.5)
|
46
46
|
thread_safe (0.3.6)
|
47
47
|
tzinfo (1.2.5)
|
48
48
|
thread_safe (~> 0.1)
|
49
|
-
webmock (3.
|
49
|
+
webmock (3.7.6)
|
50
50
|
addressable (>= 2.3.6)
|
51
51
|
crack (>= 0.3.2)
|
52
|
-
hashdiff
|
52
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
53
53
|
zeitwerk (2.2.2)
|
54
54
|
|
55
55
|
PLATFORMS
|
@@ -24,6 +24,7 @@ module YoutubeParser
|
|
24
24
|
opts = { ssl: { verify: false }, request: { timeout: 10 } }
|
25
25
|
@client ||= Faraday.new(BASE_URL, opts) do |request|
|
26
26
|
request.adapter Faraday.default_adapter
|
27
|
+
request.headers['Accept-Language'] = 'en-US'
|
27
28
|
request.headers['User-Agent'] = options.user_agent if options.user_agent
|
28
29
|
request.proxy = proxy if options.proxy
|
29
30
|
end
|