ghost_youtube 0.1.0 → 0.1.1
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 +4 -4
- data/ghost_youtube.gemspec +2 -2
- data/{ghost_youtube.rb → lib/ghost_youtube.rb} +8 -7
- 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: 2a45aa0ee7b6bdb3a091c7d881e1750dc605055870328ea16ce218dde30ac481
|
4
|
+
data.tar.gz: b0880bfa51afa9ded0edfa80236e6b11f1b9abb8f756be2f25b3490c5d173a84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 699eb8e417890301a65e63f1c19931f0f796308fc4f752ee328634cc0da00e758d20d2fef2a8c7c27aea14d1b2e2a5ce111b625cffda31177387dcdebb965b21
|
7
|
+
data.tar.gz: 3fe34d43232be9adef77b3bbd8c74b3c99afa43f3a0cef58272a4856a1d6ad97e2c999167f276d6e66ccf9c87ff5d43cde0502c11228ebc4370e3403ebd03e1b
|
data/ghost_youtube.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# ghost_youtube.gemspec
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "ghost_youtube"
|
4
|
-
spec.version = "0.1.
|
4
|
+
spec.version = "0.1.1"
|
5
5
|
spec.authors = ["Maven"]
|
6
6
|
|
7
7
|
spec.summary = %q{A Ruby library to download YouTube videos with audio and captions of Videos}
|
@@ -21,4 +21,4 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
23
23
|
end
|
24
|
-
|
24
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# ghost_youtube.rb
|
1
|
+
# lib/ghost_youtube.rb
|
2
2
|
|
3
3
|
# Ensure that yt-dlp is installed on the system.
|
4
4
|
def ensure_yt_dlp_installed
|
@@ -9,11 +9,12 @@ end
|
|
9
9
|
|
10
10
|
ensure_yt_dlp_installed
|
11
11
|
|
12
|
-
|
13
|
-
require_relative '
|
14
|
-
require_relative '
|
15
|
-
require_relative '
|
16
|
-
require_relative '
|
12
|
+
# Fix the paths - use './errors' instead of 'lib/errors'
|
13
|
+
require_relative './errors'
|
14
|
+
require_relative './download/youtube'
|
15
|
+
require_relative './download/vimeo'
|
16
|
+
require_relative './caption/youtube_caption'
|
17
|
+
require_relative './cookies/cookies_handler'
|
17
18
|
|
18
19
|
module Ghost
|
19
20
|
module Download
|
@@ -63,4 +64,4 @@ module Ghost
|
|
63
64
|
cookies_handler.download
|
64
65
|
end
|
65
66
|
end
|
66
|
-
end
|
67
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghost_youtube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maven
|
@@ -23,12 +23,12 @@ files:
|
|
23
23
|
- LICENSE
|
24
24
|
- README.md
|
25
25
|
- ghost_youtube.gemspec
|
26
|
-
- ghost_youtube.rb
|
27
26
|
- lib/caption/youtube_caption.rb
|
28
27
|
- lib/cookies/cookies_handler.rb
|
29
28
|
- lib/download/vimeo.rb
|
30
29
|
- lib/download/youtube.rb
|
31
30
|
- lib/errors.rb
|
31
|
+
- lib/ghost_youtube.rb
|
32
32
|
homepage: https://github.com/Abo5/ghost_youtube
|
33
33
|
licenses:
|
34
34
|
- MIT
|