yt_dlp 0.1.1 → 0.2.0
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/.github/workflows/ci.yml +6 -3
- data/.gitignore +3 -3
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/examples/run.rb +1 -1
- data/lib/yt_dlp/version.rb +1 -1
- data/vendor/bin/yt-dlp +0 -0
- metadata +3 -5
- data/.github/dependabot.yml +0 -6
- data/Gemfile.lock +0 -124
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d27f09794d4b99bb022f9eb4042d6cd0258230c007e6db8de4af82cfd652686
|
|
4
|
+
data.tar.gz: bcfa232fce4ba0ff02c9ba6803656852075d6e95dc97d868f00a6ed7f8a5fb1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb1209ee44ed8afa1d67b2177a7523005f1febcfaaabb50a9f27f41c8edbf83d7fddd1f7ae72e88f5980c3aaa27fcc869d99165f61522cb4b2c1fe207ab72315
|
|
7
|
+
data.tar.gz: 9037082ba8486617574268b8a5ef2f0febc1aa93cdc4fea5804a3161a311c79f12a8666ade2f6e9862c9c30c9d0266fb3c718aee0e83ee10dbd193841304a544
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -9,12 +9,15 @@ on:
|
|
|
9
9
|
jobs:
|
|
10
10
|
ci:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
ruby-version: ['3.1', '3.0', '2.7', 2.6]
|
|
12
15
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
-
- name: Set up Ruby
|
|
16
|
+
- uses: actions/checkout@v3
|
|
17
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
15
18
|
uses: ruby/setup-ruby@v1
|
|
16
19
|
with:
|
|
17
|
-
ruby-version:
|
|
20
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
18
21
|
- name: Install dependencies
|
|
19
22
|
run: bundle install
|
|
20
23
|
- name: Run tests
|
data/.gitignore
CHANGED
|
@@ -45,9 +45,9 @@ build-iPhoneSimulator/
|
|
|
45
45
|
|
|
46
46
|
# for a library or gem, you might want to ignore these files since the code is
|
|
47
47
|
# intended to run in multiple environments; otherwise, check them in:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
Gemfile.lock
|
|
49
|
+
.ruby-version
|
|
50
|
+
.ruby-gemset
|
|
51
51
|
|
|
52
52
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
53
53
|
.rvmrc
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
|
@@ -8,12 +8,10 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
|
8
8
|
gemspec
|
|
9
9
|
|
|
10
10
|
group :test do
|
|
11
|
-
gem 'debase', require: false
|
|
12
11
|
gem 'rubocop', require: false
|
|
13
12
|
gem 'rubocop-performance', require: false
|
|
14
13
|
gem 'rubocop-rake', require: false
|
|
15
14
|
gem 'rubocop-rspec', require: false
|
|
16
|
-
gem 'ruby-debug-ide', require: false
|
|
17
15
|
gem 'simplecov', require: false
|
|
18
16
|
gem 'simplecov-lcov', require: false
|
|
19
17
|
gem 'solargraph', require: false
|
data/examples/run.rb
CHANGED
|
@@ -10,7 +10,7 @@ YtDlp.configure do |config|
|
|
|
10
10
|
config.logger = Logger.new($stderr)
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
url = 'https://www.youtube.com/watch?v=
|
|
13
|
+
url = 'https://www.youtube.com/watch?v=jM8dCGIm6yc'
|
|
14
14
|
|
|
15
15
|
# See https://github.com/yt-dlp/yt-dlp for the list of options
|
|
16
16
|
video = YtDlp::Video.new url, output: 'test.mp4'
|
data/lib/yt_dlp/version.rb
CHANGED
data/vendor/bin/yt-dlp
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yt_dlp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Axel Delsol
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: terrapin
|
|
@@ -73,14 +73,12 @@ executables: []
|
|
|
73
73
|
extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
|
-
- ".github/dependabot.yml"
|
|
77
76
|
- ".github/workflows/ci.yml"
|
|
78
77
|
- ".gitignore"
|
|
79
78
|
- ".rubocop.yml"
|
|
80
79
|
- CHANGELOG.md
|
|
81
80
|
- CODE_OF_CONDUCT.md
|
|
82
81
|
- Gemfile
|
|
83
|
-
- Gemfile.lock
|
|
84
82
|
- LICENSE
|
|
85
83
|
- README.md
|
|
86
84
|
- Rakefile
|
|
@@ -114,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
114
112
|
- !ruby/object:Gem::Version
|
|
115
113
|
version: '0'
|
|
116
114
|
requirements: []
|
|
117
|
-
rubygems_version: 3.
|
|
115
|
+
rubygems_version: 3.3.26
|
|
118
116
|
signing_key:
|
|
119
117
|
specification_version: 4
|
|
120
118
|
summary: yt-dlp wrapper for Ruby
|
data/.github/dependabot.yml
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
yt_dlp (0.1.1)
|
|
5
|
-
terrapin (~> 0)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
ast (2.4.2)
|
|
11
|
-
backport (1.2.0)
|
|
12
|
-
benchmark (0.1.1)
|
|
13
|
-
climate_control (0.2.0)
|
|
14
|
-
debase (0.2.4.1)
|
|
15
|
-
debase-ruby_core_source (>= 0.10.2)
|
|
16
|
-
debase-ruby_core_source (0.10.12)
|
|
17
|
-
diff-lcs (1.4.4)
|
|
18
|
-
docile (1.4.0)
|
|
19
|
-
e2mmap (0.1.0)
|
|
20
|
-
jaro_winkler (1.5.4)
|
|
21
|
-
kramdown (2.3.1)
|
|
22
|
-
rexml
|
|
23
|
-
kramdown-parser-gfm (1.1.0)
|
|
24
|
-
kramdown (~> 2.0)
|
|
25
|
-
nokogiri (1.12.4-x86_64-linux)
|
|
26
|
-
racc (~> 1.4)
|
|
27
|
-
parallel (1.21.0)
|
|
28
|
-
parser (3.0.2.0)
|
|
29
|
-
ast (~> 2.4.1)
|
|
30
|
-
racc (1.5.2)
|
|
31
|
-
rainbow (3.0.0)
|
|
32
|
-
rake (13.0.6)
|
|
33
|
-
regexp_parser (2.1.1)
|
|
34
|
-
reverse_markdown (2.0.0)
|
|
35
|
-
nokogiri
|
|
36
|
-
rexml (3.2.5)
|
|
37
|
-
rspec (3.10.0)
|
|
38
|
-
rspec-core (~> 3.10.0)
|
|
39
|
-
rspec-expectations (~> 3.10.0)
|
|
40
|
-
rspec-mocks (~> 3.10.0)
|
|
41
|
-
rspec-core (3.10.1)
|
|
42
|
-
rspec-support (~> 3.10.0)
|
|
43
|
-
rspec-expectations (3.10.1)
|
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
|
-
rspec-support (~> 3.10.0)
|
|
46
|
-
rspec-its (1.3.0)
|
|
47
|
-
rspec-core (>= 3.0.0)
|
|
48
|
-
rspec-expectations (>= 3.0.0)
|
|
49
|
-
rspec-mocks (3.10.2)
|
|
50
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
51
|
-
rspec-support (~> 3.10.0)
|
|
52
|
-
rspec-support (3.10.2)
|
|
53
|
-
rubocop (1.21.0)
|
|
54
|
-
parallel (~> 1.10)
|
|
55
|
-
parser (>= 3.0.0.0)
|
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
57
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
58
|
-
rexml
|
|
59
|
-
rubocop-ast (>= 1.9.1, < 2.0)
|
|
60
|
-
ruby-progressbar (~> 1.7)
|
|
61
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
|
62
|
-
rubocop-ast (1.11.0)
|
|
63
|
-
parser (>= 3.0.1.1)
|
|
64
|
-
rubocop-performance (1.11.5)
|
|
65
|
-
rubocop (>= 1.7.0, < 2.0)
|
|
66
|
-
rubocop-ast (>= 0.4.0)
|
|
67
|
-
rubocop-rake (0.6.0)
|
|
68
|
-
rubocop (~> 1.0)
|
|
69
|
-
rubocop-rspec (2.4.0)
|
|
70
|
-
rubocop (~> 1.0)
|
|
71
|
-
rubocop-ast (>= 1.1.0)
|
|
72
|
-
ruby-debug-ide (0.7.2)
|
|
73
|
-
rake (>= 0.8.1)
|
|
74
|
-
ruby-progressbar (1.11.0)
|
|
75
|
-
simplecov (0.21.2)
|
|
76
|
-
docile (~> 1.1)
|
|
77
|
-
simplecov-html (~> 0.11)
|
|
78
|
-
simplecov_json_formatter (~> 0.1)
|
|
79
|
-
simplecov-html (0.12.3)
|
|
80
|
-
simplecov-lcov (0.8.0)
|
|
81
|
-
simplecov_json_formatter (0.1.3)
|
|
82
|
-
solargraph (0.43.0)
|
|
83
|
-
backport (~> 1.2)
|
|
84
|
-
benchmark
|
|
85
|
-
bundler (>= 1.17.2)
|
|
86
|
-
diff-lcs (~> 1.4)
|
|
87
|
-
e2mmap
|
|
88
|
-
jaro_winkler (~> 1.5)
|
|
89
|
-
kramdown (~> 2.3)
|
|
90
|
-
kramdown-parser-gfm (~> 1.1)
|
|
91
|
-
parser (~> 3.0)
|
|
92
|
-
reverse_markdown (>= 1.0.5, < 3)
|
|
93
|
-
rubocop (>= 0.52)
|
|
94
|
-
thor (~> 1.0)
|
|
95
|
-
tilt (~> 2.0)
|
|
96
|
-
yard (~> 0.9, >= 0.9.24)
|
|
97
|
-
terrapin (0.6.0)
|
|
98
|
-
climate_control (>= 0.0.3, < 1.0)
|
|
99
|
-
thor (1.1.0)
|
|
100
|
-
tilt (2.0.10)
|
|
101
|
-
unicode-display_width (2.0.0)
|
|
102
|
-
yard (0.9.26)
|
|
103
|
-
|
|
104
|
-
PLATFORMS
|
|
105
|
-
ruby
|
|
106
|
-
|
|
107
|
-
DEPENDENCIES
|
|
108
|
-
debase
|
|
109
|
-
rake (~> 13.0)
|
|
110
|
-
rspec (~> 3.0)
|
|
111
|
-
rspec-its (~> 1.3)
|
|
112
|
-
rubocop
|
|
113
|
-
rubocop-performance
|
|
114
|
-
rubocop-rake
|
|
115
|
-
rubocop-rspec
|
|
116
|
-
ruby-debug-ide
|
|
117
|
-
simplecov
|
|
118
|
-
simplecov-lcov
|
|
119
|
-
solargraph
|
|
120
|
-
yard
|
|
121
|
-
yt_dlp!
|
|
122
|
-
|
|
123
|
-
BUNDLED WITH
|
|
124
|
-
1.17.3
|