viddl-rb 0.93 → 0.94
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/Gemfile.lock +237 -0
- data/bin/helper/downloader.rb +4 -1
- data/bin/viddl-rb +0 -2
- data/helper/audio-helper.rb +13 -9
- data/helper/plugin-helper.rb +3 -3
- data/helper/utility-helper.rb +6 -3
- data/lib/viddl-rb.rb +0 -1
- data/plugins/youtube.rb +7 -0
- metadata +109 -87
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: de58e6fcb2fc70e8074588144fb452e02a5eb6d4
|
4
|
+
data.tar.gz: 2914138014499efe44b37c31ef127091d1d89b1f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ef3f1096fe776c7b5692fd1d3e78437638b1ef874e3dde25860ad525efa47bba796fcc24b587b73ca77f2c7de57a252daf6017c0054d7f0e54589cc96a039ff9
|
7
|
+
data.tar.gz: f7495ce3416925fd415c89d661bb986a95cd98440fa5c1371ec42f27435997d8975e415af9c21fbeef29c5b699171b4466d2eecd86ad9f183e8e8cc40c92f67c
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,237 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
viddl-rb (0.93)
|
5
|
+
mime-types
|
6
|
+
multi_json
|
7
|
+
nokogiri
|
8
|
+
progressbar
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: http://rubygems.org/
|
12
|
+
specs:
|
13
|
+
ffi2-generators (0.1.1)
|
14
|
+
mime-types (2.1)
|
15
|
+
mini_portile (0.5.2)
|
16
|
+
minitest (5.2.2)
|
17
|
+
multi_json (1.8.4)
|
18
|
+
nokogiri (1.6.1)
|
19
|
+
mini_portile (~> 0.5.0)
|
20
|
+
progressbar (0.21.0)
|
21
|
+
racc (1.4.11)
|
22
|
+
rake (10.1.1)
|
23
|
+
rest-client (1.6.7)
|
24
|
+
mime-types (>= 1.16)
|
25
|
+
rubysl (2.0.15)
|
26
|
+
rubysl-abbrev (~> 2.0)
|
27
|
+
rubysl-base64 (~> 2.0)
|
28
|
+
rubysl-benchmark (~> 2.0)
|
29
|
+
rubysl-bigdecimal (~> 2.0)
|
30
|
+
rubysl-cgi (~> 2.0)
|
31
|
+
rubysl-cgi-session (~> 2.0)
|
32
|
+
rubysl-cmath (~> 2.0)
|
33
|
+
rubysl-complex (~> 2.0)
|
34
|
+
rubysl-continuation (~> 2.0)
|
35
|
+
rubysl-coverage (~> 2.0)
|
36
|
+
rubysl-csv (~> 2.0)
|
37
|
+
rubysl-curses (~> 2.0)
|
38
|
+
rubysl-date (~> 2.0)
|
39
|
+
rubysl-delegate (~> 2.0)
|
40
|
+
rubysl-digest (~> 2.0)
|
41
|
+
rubysl-drb (~> 2.0)
|
42
|
+
rubysl-e2mmap (~> 2.0)
|
43
|
+
rubysl-english (~> 2.0)
|
44
|
+
rubysl-enumerator (~> 2.0)
|
45
|
+
rubysl-erb (~> 2.0)
|
46
|
+
rubysl-etc (~> 2.0)
|
47
|
+
rubysl-expect (~> 2.0)
|
48
|
+
rubysl-fcntl (~> 2.0)
|
49
|
+
rubysl-fiber (~> 2.0)
|
50
|
+
rubysl-fileutils (~> 2.0)
|
51
|
+
rubysl-find (~> 2.0)
|
52
|
+
rubysl-forwardable (~> 2.0)
|
53
|
+
rubysl-getoptlong (~> 2.0)
|
54
|
+
rubysl-gserver (~> 2.0)
|
55
|
+
rubysl-io-console (~> 2.0)
|
56
|
+
rubysl-io-nonblock (~> 2.0)
|
57
|
+
rubysl-io-wait (~> 2.0)
|
58
|
+
rubysl-ipaddr (~> 2.0)
|
59
|
+
rubysl-irb (~> 2.0)
|
60
|
+
rubysl-logger (~> 2.0)
|
61
|
+
rubysl-mathn (~> 2.0)
|
62
|
+
rubysl-matrix (~> 2.0)
|
63
|
+
rubysl-mkmf (~> 2.0)
|
64
|
+
rubysl-monitor (~> 2.0)
|
65
|
+
rubysl-mutex_m (~> 2.0)
|
66
|
+
rubysl-net-ftp (~> 2.0)
|
67
|
+
rubysl-net-http (~> 2.0)
|
68
|
+
rubysl-net-imap (~> 2.0)
|
69
|
+
rubysl-net-pop (~> 2.0)
|
70
|
+
rubysl-net-protocol (~> 2.0)
|
71
|
+
rubysl-net-smtp (~> 2.0)
|
72
|
+
rubysl-net-telnet (~> 2.0)
|
73
|
+
rubysl-nkf (~> 2.0)
|
74
|
+
rubysl-observer (~> 2.0)
|
75
|
+
rubysl-open-uri (~> 2.0)
|
76
|
+
rubysl-open3 (~> 2.0)
|
77
|
+
rubysl-openssl (~> 2.0)
|
78
|
+
rubysl-optparse (~> 2.0)
|
79
|
+
rubysl-ostruct (~> 2.0)
|
80
|
+
rubysl-pathname (~> 2.0)
|
81
|
+
rubysl-prettyprint (~> 2.0)
|
82
|
+
rubysl-prime (~> 2.0)
|
83
|
+
rubysl-profile (~> 2.0)
|
84
|
+
rubysl-profiler (~> 2.0)
|
85
|
+
rubysl-pstore (~> 2.0)
|
86
|
+
rubysl-pty (~> 2.0)
|
87
|
+
rubysl-rational (~> 2.0)
|
88
|
+
rubysl-readline (~> 2.0)
|
89
|
+
rubysl-resolv (~> 2.0)
|
90
|
+
rubysl-rexml (~> 2.0)
|
91
|
+
rubysl-rinda (~> 2.0)
|
92
|
+
rubysl-rss (~> 2.0)
|
93
|
+
rubysl-scanf (~> 2.0)
|
94
|
+
rubysl-securerandom (~> 2.0)
|
95
|
+
rubysl-set (~> 2.0)
|
96
|
+
rubysl-shellwords (~> 2.0)
|
97
|
+
rubysl-singleton (~> 2.0)
|
98
|
+
rubysl-socket (~> 2.0)
|
99
|
+
rubysl-stringio (~> 2.0)
|
100
|
+
rubysl-strscan (~> 2.0)
|
101
|
+
rubysl-sync (~> 2.0)
|
102
|
+
rubysl-syslog (~> 2.0)
|
103
|
+
rubysl-tempfile (~> 2.0)
|
104
|
+
rubysl-thread (~> 2.0)
|
105
|
+
rubysl-thwait (~> 2.0)
|
106
|
+
rubysl-time (~> 2.0)
|
107
|
+
rubysl-timeout (~> 2.0)
|
108
|
+
rubysl-tmpdir (~> 2.0)
|
109
|
+
rubysl-tsort (~> 2.0)
|
110
|
+
rubysl-un (~> 2.0)
|
111
|
+
rubysl-uri (~> 2.0)
|
112
|
+
rubysl-weakref (~> 2.0)
|
113
|
+
rubysl-webrick (~> 2.0)
|
114
|
+
rubysl-xmlrpc (~> 2.0)
|
115
|
+
rubysl-yaml (~> 2.0)
|
116
|
+
rubysl-zlib (~> 2.0)
|
117
|
+
rubysl-abbrev (2.0.4)
|
118
|
+
rubysl-base64 (2.0.0)
|
119
|
+
rubysl-benchmark (2.0.1)
|
120
|
+
rubysl-bigdecimal (2.0.2)
|
121
|
+
rubysl-cgi (2.0.1)
|
122
|
+
rubysl-cgi-session (2.0.1)
|
123
|
+
rubysl-cmath (2.0.0)
|
124
|
+
rubysl-complex (2.0.0)
|
125
|
+
rubysl-continuation (2.0.0)
|
126
|
+
rubysl-coverage (2.0.3)
|
127
|
+
rubysl-csv (2.0.2)
|
128
|
+
rubysl-english (~> 2.0)
|
129
|
+
rubysl-curses (2.0.1)
|
130
|
+
rubysl-date (2.0.6)
|
131
|
+
rubysl-delegate (2.0.1)
|
132
|
+
rubysl-digest (2.0.3)
|
133
|
+
rubysl-drb (2.0.1)
|
134
|
+
rubysl-e2mmap (2.0.0)
|
135
|
+
rubysl-english (2.0.0)
|
136
|
+
rubysl-enumerator (2.0.0)
|
137
|
+
rubysl-erb (2.0.1)
|
138
|
+
rubysl-etc (2.0.3)
|
139
|
+
ffi2-generators (~> 0.1)
|
140
|
+
rubysl-expect (2.0.0)
|
141
|
+
rubysl-fcntl (2.0.4)
|
142
|
+
ffi2-generators (~> 0.1)
|
143
|
+
rubysl-fiber (2.0.0)
|
144
|
+
rubysl-fileutils (2.0.3)
|
145
|
+
rubysl-find (2.0.1)
|
146
|
+
rubysl-forwardable (2.0.1)
|
147
|
+
rubysl-getoptlong (2.0.0)
|
148
|
+
rubysl-gserver (2.0.0)
|
149
|
+
rubysl-socket (~> 2.0)
|
150
|
+
rubysl-thread (~> 2.0)
|
151
|
+
rubysl-io-console (2.0.0)
|
152
|
+
rubysl-io-nonblock (2.0.0)
|
153
|
+
rubysl-io-wait (2.0.0)
|
154
|
+
rubysl-ipaddr (2.0.0)
|
155
|
+
rubysl-irb (2.0.4)
|
156
|
+
rubysl-e2mmap (~> 2.0)
|
157
|
+
rubysl-mathn (~> 2.0)
|
158
|
+
rubysl-readline (~> 2.0)
|
159
|
+
rubysl-thread (~> 2.0)
|
160
|
+
rubysl-logger (2.0.0)
|
161
|
+
rubysl-mathn (2.0.0)
|
162
|
+
rubysl-matrix (2.1.0)
|
163
|
+
rubysl-e2mmap (~> 2.0)
|
164
|
+
rubysl-mkmf (2.0.1)
|
165
|
+
rubysl-fileutils (~> 2.0)
|
166
|
+
rubysl-shellwords (~> 2.0)
|
167
|
+
rubysl-monitor (2.0.0)
|
168
|
+
rubysl-mutex_m (2.0.0)
|
169
|
+
rubysl-net-ftp (2.0.1)
|
170
|
+
rubysl-net-http (2.0.4)
|
171
|
+
rubysl-cgi (~> 2.0)
|
172
|
+
rubysl-erb (~> 2.0)
|
173
|
+
rubysl-singleton (~> 2.0)
|
174
|
+
rubysl-net-imap (2.0.1)
|
175
|
+
rubysl-net-pop (2.0.1)
|
176
|
+
rubysl-net-protocol (2.0.1)
|
177
|
+
rubysl-net-smtp (2.0.1)
|
178
|
+
rubysl-net-telnet (2.0.0)
|
179
|
+
rubysl-nkf (2.0.1)
|
180
|
+
rubysl-observer (2.0.0)
|
181
|
+
rubysl-open-uri (2.0.0)
|
182
|
+
rubysl-open3 (2.0.0)
|
183
|
+
rubysl-openssl (2.1.0)
|
184
|
+
rubysl-optparse (2.0.1)
|
185
|
+
rubysl-shellwords (~> 2.0)
|
186
|
+
rubysl-ostruct (2.0.4)
|
187
|
+
rubysl-pathname (2.0.0)
|
188
|
+
rubysl-prettyprint (2.0.2)
|
189
|
+
rubysl-prime (2.0.1)
|
190
|
+
rubysl-profile (2.0.0)
|
191
|
+
rubysl-profiler (2.0.1)
|
192
|
+
rubysl-pstore (2.0.0)
|
193
|
+
rubysl-pty (2.0.2)
|
194
|
+
rubysl-rational (2.0.1)
|
195
|
+
rubysl-readline (2.0.2)
|
196
|
+
rubysl-resolv (2.0.0)
|
197
|
+
rubysl-rexml (2.0.2)
|
198
|
+
rubysl-rinda (2.0.1)
|
199
|
+
rubysl-rss (2.0.0)
|
200
|
+
rubysl-scanf (2.0.0)
|
201
|
+
rubysl-securerandom (2.0.0)
|
202
|
+
rubysl-set (2.0.1)
|
203
|
+
rubysl-shellwords (2.0.0)
|
204
|
+
rubysl-singleton (2.0.0)
|
205
|
+
rubysl-socket (2.0.1)
|
206
|
+
rubysl-stringio (2.0.0)
|
207
|
+
rubysl-strscan (2.0.0)
|
208
|
+
rubysl-sync (2.0.0)
|
209
|
+
rubysl-syslog (2.0.1)
|
210
|
+
ffi2-generators (~> 0.1)
|
211
|
+
rubysl-tempfile (2.0.1)
|
212
|
+
rubysl-thread (2.0.2)
|
213
|
+
rubysl-thwait (2.0.0)
|
214
|
+
rubysl-time (2.0.3)
|
215
|
+
rubysl-timeout (2.0.0)
|
216
|
+
rubysl-tmpdir (2.0.0)
|
217
|
+
rubysl-tsort (2.0.1)
|
218
|
+
rubysl-un (2.0.0)
|
219
|
+
rubysl-fileutils (~> 2.0)
|
220
|
+
rubysl-optparse (~> 2.0)
|
221
|
+
rubysl-uri (2.0.0)
|
222
|
+
rubysl-weakref (2.0.0)
|
223
|
+
rubysl-webrick (2.0.0)
|
224
|
+
rubysl-xmlrpc (2.0.0)
|
225
|
+
rubysl-yaml (2.0.4)
|
226
|
+
rubysl-zlib (2.0.1)
|
227
|
+
|
228
|
+
PLATFORMS
|
229
|
+
ruby
|
230
|
+
|
231
|
+
DEPENDENCIES
|
232
|
+
minitest
|
233
|
+
racc
|
234
|
+
rake
|
235
|
+
rest-client
|
236
|
+
rubysl (~> 2.0)
|
237
|
+
viddl-rb!
|
data/bin/helper/downloader.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
|
2
1
|
# Downloader iterates over a download queue and downloads and saves each video in the queue.
|
3
2
|
class Downloader
|
4
3
|
class DownloadFailedError < StandardError; end
|
5
4
|
|
6
5
|
def download(download_queue, params)
|
7
6
|
download_queue.each do |url_name|
|
7
|
+
# Skip invalid invalid link
|
8
|
+
next unless url_name
|
9
|
+
|
10
|
+
# Url
|
8
11
|
url = url_name[:url]
|
9
12
|
name = url_name[:name]
|
10
13
|
|
data/bin/viddl-rb
CHANGED
@@ -4,12 +4,10 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'helper') # bin-specific
|
|
4
4
|
|
5
5
|
require "rubygems"
|
6
6
|
require "nokogiri"
|
7
|
-
require "mechanize"
|
8
7
|
require "cgi"
|
9
8
|
require "open-uri"
|
10
9
|
require "open3"
|
11
10
|
require "optparse"
|
12
|
-
|
13
11
|
require "driver.rb"
|
14
12
|
require "downloader.rb"
|
15
13
|
require "download-helper.rb"
|
data/helper/audio-helper.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
+
require 'shellwords'
|
2
|
+
|
1
3
|
module ViddlRb
|
2
4
|
|
3
5
|
# This class is responsible for extracting audio from video files using ffmpeg.
|
4
6
|
class AudioHelper
|
5
7
|
|
6
|
-
def self.extract(
|
7
|
-
|
8
|
-
#capture stderr because ffmpeg expects an output param and will error out
|
8
|
+
def self.extract(file_name, save_dir)
|
9
|
+
# capture stderr because ffmpeg expects an output param and will error out
|
9
10
|
puts "Gathering information about the downloaded file."
|
10
|
-
|
11
|
+
escaped_input_file_path = Shellwords.escape(File.join(save_dir, file_name))
|
12
|
+
file_info = Open3.popen3("ffmpeg -i #{escaped_input_file_path}") {|stdin, stdout, stderr, wait_thr| stderr.read }
|
11
13
|
puts "Done gathering information about the downloaded file."
|
12
14
|
|
13
15
|
if !file_info.to_s.empty?
|
@@ -32,13 +34,15 @@ module ViddlRb
|
|
32
34
|
puts "Unknown audio format: #{audio_format}, using name as extension: '.#{audio_format}'."
|
33
35
|
output_extension = audio_format
|
34
36
|
end
|
35
|
-
|
36
|
-
|
37
|
+
no_ext_filename = File.basename(file_name, File.extname(file_name))
|
38
|
+
output_file_path = File.join(save_dir, "#{no_ext_filename}.#{output_extension}")
|
39
|
+
escaped_output_file_path = Shellwords.escape(output_file_path)
|
40
|
+
if File.exist?(output_file_path)
|
37
41
|
puts "Audio file seems to exist already, removing it before extraction."
|
38
|
-
File.delete(
|
42
|
+
File.delete(output_file_path)
|
39
43
|
end
|
40
|
-
Open3.popen3("ffmpeg -i #{
|
41
|
-
puts "Done extracting audio to #{
|
44
|
+
Open3.popen3("ffmpeg -i #{escaped_input_file_path} -vn -acodec copy #{escaped_output_file_path}") { |stdin, stdout, stderr, wait_thr| stdout.read }
|
45
|
+
puts "Done extracting audio to #{output_file_path}"
|
42
46
|
else
|
43
47
|
raise "ERROR: Error while checking audio track of #{file_path}"
|
44
48
|
end
|
data/helper/plugin-helper.rb
CHANGED
@@ -21,10 +21,10 @@ module ViddlRb
|
|
21
21
|
PluginBase.registered_plugins << child
|
22
22
|
end
|
23
23
|
|
24
|
-
#takes a string a returns a new string that is file name safe
|
25
|
-
#deletes \"' and replaces anything else that is not a digit or letter with _
|
24
|
+
#takes a string a returns a new string that is file name safe on Windows and Unix systems.
|
26
25
|
def self.make_filename_safe(string)
|
27
|
-
string.
|
26
|
+
safe = UtilityHelper.windows? ? string.gsub(/[:*?"<>^|\/\\]/, "_") : string.gsub(/[\/\\0]/, "_")
|
27
|
+
safe.squeeze("_")
|
28
28
|
end
|
29
29
|
|
30
30
|
#the following methods redirects the Kernel printing methods (except #p) to the
|
data/helper/utility-helper.rb
CHANGED
@@ -11,13 +11,16 @@ module ViddlRb
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
+
def self.windows?
|
15
|
+
(RbConfig::CONFIG["host_os"] =~ /windows|mingw/i) != nil
|
16
|
+
end
|
17
|
+
|
14
18
|
#checks to see whether the os has a certain utility like wget or curl
|
15
19
|
#`` returns the standard output of the process
|
16
20
|
#system returns the exit code of the process
|
17
21
|
def self.os_has?(utility)
|
18
|
-
|
19
|
-
|
20
|
-
unless windows
|
22
|
+
|
23
|
+
unless windows?
|
21
24
|
`which #{utility}`.include?(utility.to_s)
|
22
25
|
else
|
23
26
|
if !system("where /q where").nil? #if Windows has the where utility
|
data/lib/viddl-rb.rb
CHANGED
data/plugins/youtube.rb
CHANGED
@@ -116,6 +116,13 @@ class Youtube < PluginBase
|
|
116
116
|
def grab_url_non_embeddable(url)
|
117
117
|
video_info = open(url).read
|
118
118
|
stream_map = video_info[/url_encoded_fmt_stream_map\" *: *\"([^\"]+)\"/,1]
|
119
|
+
|
120
|
+
# Video has been deleted!
|
121
|
+
if stream_map.nil? or !stream_map.index("been+removed").nil?
|
122
|
+
Youtube.notify("VIDEO IS REMOVED")
|
123
|
+
return false
|
124
|
+
end
|
125
|
+
|
119
126
|
urls_formats = parse_stream_map(url_decode(stream_map))
|
120
127
|
selected_format = choose_format(urls_formats)
|
121
128
|
title = video_info[/<meta name="title" content="([^"]*)">/, 1]
|
metadata
CHANGED
@@ -1,107 +1,134 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: viddl-rb
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.94'
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Marc Seeger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: mime-types
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: "1.2"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
22
20
|
type: :runtime
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: nokogiri
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- -
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
32
34
|
type: :runtime
|
33
|
-
version_requirements: *id002
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: mechanize
|
36
35
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
39
|
-
- - "
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version:
|
42
|
-
|
43
|
-
version_requirements: *id003
|
44
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
45
42
|
name: progressbar
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: "0"
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
53
48
|
type: :runtime
|
54
|
-
version_requirements: *id004
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: multi_json
|
57
49
|
prerelease: false
|
58
|
-
|
59
|
-
requirements:
|
60
|
-
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: multi_json
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
61
62
|
type: :runtime
|
62
|
-
version_requirements: *id006
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: rake
|
65
63
|
prerelease: false
|
66
|
-
|
67
|
-
requirements:
|
68
|
-
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
69
76
|
type: :development
|
70
|
-
version_requirements: *id007
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: rest-client
|
73
77
|
prerelease: false
|
74
|
-
|
75
|
-
requirements:
|
76
|
-
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rest-client
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
77
90
|
type: :development
|
78
|
-
version_requirements: *id008
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: minitest
|
81
91
|
prerelease: false
|
82
|
-
|
83
|
-
requirements:
|
84
|
-
-
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: minitest
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
85
104
|
type: :development
|
86
|
-
|
87
|
-
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: An extendable commandline video downloader for flash video sites. Includes
|
112
|
+
plugins for vimeo, youtube, dailymotion and more
|
88
113
|
email: mail@marc-seeger.de
|
89
|
-
executables:
|
114
|
+
executables:
|
90
115
|
- viddl-rb
|
91
116
|
extensions: []
|
92
|
-
|
93
117
|
extra_rdoc_files: []
|
94
|
-
|
95
|
-
|
118
|
+
files:
|
119
|
+
- Gemfile
|
120
|
+
- Gemfile.lock
|
121
|
+
- README.md
|
122
|
+
- Rakefile
|
96
123
|
- bin/helper/downloader.rb
|
97
124
|
- bin/helper/driver.rb
|
98
125
|
- bin/helper/parameter-parser.rb
|
99
126
|
- bin/viddl-rb
|
100
|
-
- lib/viddl-rb.rb
|
101
127
|
- helper/audio-helper.rb
|
102
128
|
- helper/download-helper.rb
|
103
129
|
- helper/plugin-helper.rb
|
104
130
|
- helper/utility-helper.rb
|
131
|
+
- lib/viddl-rb.rb
|
105
132
|
- plugins/arte_plus_seven.rb
|
106
133
|
- plugins/blip.rb
|
107
134
|
- plugins/dailymotion.rb
|
@@ -110,34 +137,29 @@ files:
|
|
110
137
|
- plugins/veoh.rb
|
111
138
|
- plugins/vimeo.rb
|
112
139
|
- plugins/youtube.rb
|
113
|
-
- Gemfile
|
114
|
-
- Rakefile
|
115
|
-
- README.md
|
116
140
|
homepage: https://github.com/rb2k/viddl-rb
|
117
|
-
licenses:
|
141
|
+
licenses:
|
118
142
|
- MIT
|
119
143
|
metadata: {}
|
120
|
-
|
121
144
|
post_install_message:
|
122
145
|
rdoc_options: []
|
123
|
-
|
124
|
-
require_paths:
|
146
|
+
require_paths:
|
125
147
|
- lib
|
126
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
-
|
129
|
-
|
130
|
-
|
148
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.9.0
|
153
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
131
155
|
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
156
|
+
- !ruby/object:Gem::Version
|
133
157
|
version: 1.3.4
|
134
158
|
requirements: []
|
135
|
-
|
136
159
|
rubyforge_project: viddl-rb
|
137
|
-
rubygems_version: 2.0
|
160
|
+
rubygems_version: 2.2.0
|
138
161
|
signing_key:
|
139
162
|
specification_version: 4
|
140
163
|
summary: An extendable commandline video downloader for flash video sites.
|
141
164
|
test_files: []
|
142
|
-
|
143
165
|
has_rdoc: false
|