ehbrs_ruby_utils 0.18.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ehbrs_ruby_utils/version.rb +1 -1
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb +30 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title.rb +26 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb +13 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/episode.rb +44 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitle.rb +39 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb +37 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors.rb +13 -0
- data/lib/ehbrs_ruby_utils/videos/opensubtitles.rb +9 -0
- data/lib/ehbrs_ruby_utils/web_utils/instance.rb +23 -13
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb +7 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html +993 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml +5 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html +478 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml +43 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb +7 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html +763 -0
- data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml +22 -0
- metadata +50 -36
data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
:episodes:
|
3
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-4912028"
|
4
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-4912030"
|
5
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6410806"
|
6
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6410816"
|
7
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6459228"
|
8
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6459232"
|
9
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6477420"
|
10
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6477424"
|
11
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6477426"
|
12
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-6477430"
|
13
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8084434"
|
14
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458070"
|
15
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8072110"
|
16
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458074"
|
17
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8442998"
|
18
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458076"
|
19
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458078"
|
20
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458080"
|
21
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458082"
|
22
|
+
- :href: "/en/search/sublanguageid-pob/imdbid-8458084"
|
metadata
CHANGED
@@ -1,95 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ehbrs_ruby_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: aranha
|
14
|
+
name: aranha
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.14.2
|
19
|
+
version: '0.19'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
|
26
|
+
version: '0.19'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aranha-parsers
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
31
32
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
33
|
+
version: '0.15'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.15'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
42
|
name: avm
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
45
|
- - "~>"
|
38
46
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.41.1
|
47
|
+
version: '0.62'
|
43
48
|
type: :runtime
|
44
49
|
prerelease: false
|
45
50
|
version_requirements: !ruby/object:Gem::Requirement
|
46
51
|
requirements:
|
47
52
|
- - "~>"
|
48
53
|
- !ruby/object:Gem::Version
|
49
|
-
version: '0.
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 0.41.1
|
54
|
+
version: '0.62'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
56
|
name: eac_fs
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
56
58
|
requirements:
|
57
59
|
- - "~>"
|
58
60
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0.
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 0.12.3
|
61
|
+
version: '0.16'
|
63
62
|
type: :runtime
|
64
63
|
prerelease: false
|
65
64
|
version_requirements: !ruby/object:Gem::Requirement
|
66
65
|
requirements:
|
67
66
|
- - "~>"
|
68
67
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0.
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 0.12.3
|
68
|
+
version: '0.16'
|
73
69
|
- !ruby/object:Gem::Dependency
|
74
70
|
name: eac_ruby_utils
|
75
71
|
requirement: !ruby/object:Gem::Requirement
|
76
72
|
requirements:
|
77
73
|
- - "~>"
|
78
74
|
- !ruby/object:Gem::Version
|
79
|
-
version: '0.
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.102.1
|
75
|
+
version: '0.112'
|
83
76
|
type: :runtime
|
84
77
|
prerelease: false
|
85
78
|
version_requirements: !ruby/object:Gem::Requirement
|
86
79
|
requirements:
|
87
80
|
- - "~>"
|
88
81
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 0.102.1
|
82
|
+
version: '0.112'
|
93
83
|
- !ruby/object:Gem::Dependency
|
94
84
|
name: eac_templates
|
95
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,7 +109,7 @@ dependencies:
|
|
119
109
|
version: '1.1'
|
120
110
|
- - ">="
|
121
111
|
- !ruby/object:Gem::Version
|
122
|
-
version: 1.1.
|
112
|
+
version: 1.1.3
|
123
113
|
type: :runtime
|
124
114
|
prerelease: false
|
125
115
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -129,7 +119,7 @@ dependencies:
|
|
129
119
|
version: '1.1'
|
130
120
|
- - ">="
|
131
121
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.1.
|
122
|
+
version: 1.1.3
|
133
123
|
- !ruby/object:Gem::Dependency
|
134
124
|
name: ultimate_lyrics
|
135
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,6 +207,14 @@ files:
|
|
217
207
|
- lib/ehbrs_ruby_utils/videos.rb
|
218
208
|
- lib/ehbrs_ruby_utils/videos/container.rb
|
219
209
|
- lib/ehbrs_ruby_utils/videos/convert_job.rb
|
210
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles.rb
|
211
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb
|
212
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb
|
213
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title.rb
|
214
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/processors.rb
|
215
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/processors/episode.rb
|
216
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitle.rb
|
217
|
+
- lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb
|
220
218
|
- lib/ehbrs_ruby_utils/videos/quality.rb
|
221
219
|
- lib/ehbrs_ruby_utils/videos/resolution.rb
|
222
220
|
- lib/ehbrs_ruby_utils/videos/series.rb
|
@@ -246,6 +244,14 @@ files:
|
|
246
244
|
- spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
|
247
245
|
- spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
|
248
246
|
- spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml
|
247
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb
|
248
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html
|
249
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml
|
250
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html
|
251
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml
|
252
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb
|
253
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html
|
254
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
|
249
255
|
- spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb
|
250
256
|
- spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
|
251
257
|
- spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml
|
@@ -298,6 +304,14 @@ test_files:
|
|
298
304
|
- spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml
|
299
305
|
- spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
|
300
306
|
- spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
|
307
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
|
308
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html
|
309
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb
|
310
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb
|
311
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html
|
312
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml
|
313
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html
|
314
|
+
- spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml
|
301
315
|
- spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
|
302
316
|
- spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml
|
303
317
|
- spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml
|