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.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  3. data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb +30 -0
  4. data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title.rb +26 -0
  5. data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb +13 -0
  6. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/episode.rb +44 -0
  7. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitle.rb +39 -0
  8. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb +37 -0
  9. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors.rb +13 -0
  10. data/lib/ehbrs_ruby_utils/videos/opensubtitles.rb +9 -0
  11. data/lib/ehbrs_ruby_utils/web_utils/instance.rb +23 -13
  12. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb +7 -0
  13. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html +993 -0
  14. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml +5 -0
  15. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html +478 -0
  16. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml +43 -0
  17. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb +7 -0
  18. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html +763 -0
  19. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml +22 -0
  20. metadata +50 -36
@@ -0,0 +1,43 @@
1
+ ---
2
+ :subtitles:
3
+ - :href: "/en/subtitleserve/sub/8353869"
4
+ - :href: "/en/subtitleserve/sub/8353868"
5
+ - :href: "/en/subtitleserve/sub/8353867"
6
+ - :href: "/en/subtitleserve/sub/8353866"
7
+ - :href: "/en/subtitleserve/sub/8353865"
8
+ - :href: "/en/subtitleserve/sub/8353864"
9
+ - :href: "/en/subtitleserve/sub/8320506"
10
+ - :href: "/en/subtitleserve/sub/8320505"
11
+ - :href: "/en/subtitleserve/sub/8320504"
12
+ - :href: "/en/subtitleserve/sub/8320498"
13
+ - :href: "/en/subtitleserve/sub/8320496"
14
+ - :href: "/en/subtitleserve/sub/8320495"
15
+ - :href: "/en/subtitleserve/sub/8320494"
16
+ - :href: "/en/subtitleserve/sub/7739049"
17
+ - :href: "/en/subtitleserve/sub/6575351"
18
+ - :href: "/en/subtitleserve/sub/6327044"
19
+ - :href: "/en/subtitleserve/sub/6261394"
20
+ - :href: "/en/subtitleserve/sub/6178610"
21
+ - :href: "/en/subtitleserve/sub/6178609"
22
+ - :href: "/en/subtitleserve/sub/6178608"
23
+ - :href: "/en/subtitleserve/sub/6178607"
24
+ - :href: "/en/subtitleserve/sub/6178606"
25
+ - :href: "/en/subtitleserve/sub/6178604"
26
+ - :href: "/en/subtitleserve/sub/6178603"
27
+ - :href: "/en/subtitleserve/sub/6178602"
28
+ - :href: "/en/subtitleserve/sub/6178601"
29
+ - :href: "/en/subtitleserve/sub/6178599"
30
+ - :href: "/en/subtitleserve/sub/6178598"
31
+ - :href: "/en/subtitleserve/sub/6178597"
32
+ - :href: "/en/subtitleserve/sub/6178596"
33
+ - :href: "/en/subtitleserve/sub/6019957"
34
+ - :href: "/en/subtitleserve/sub/6016452"
35
+ - :href: "/en/subtitleserve/sub/6012149"
36
+ - :href: "/en/subtitleserve/sub/6005024"
37
+ - :href: "/en/subtitleserve/sub/6004659"
38
+ - :href: "/en/subtitleserve/sub/5990094"
39
+ - :href: "/en/subtitleserve/sub/5982337"
40
+ - :href: "/en/subtitleserve/sub/5982336"
41
+ - :href: "/en/subtitleserve/sub/5982335"
42
+ - :href: "/en/subtitleserve/sub/5982334"
43
+ :next_page_href: "/en/search/sublanguageid-pob/pimdbid-306414/season-1/offset-40"
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ehbrs_ruby_utils/videos/opensubtitles/parsers/title'
4
+
5
+ RSpec.describe ::EhbrsRubyUtils::Videos::Opensubtitles::Parsers::Title do
6
+ include_examples 'source_target_fixtures', __FILE__
7
+ end