ydj 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ydj.rb +1 -1
- data/lib/ydj/version.rb +1 -1
- metadata +1 -1
data/lib/ydj.rb
CHANGED
@@ -8,7 +8,7 @@ module Ydj
|
|
8
8
|
while urls = client.videos_by(:user => channel, :per_page => 50, :page => page).videos.collect{|v| v.player_url} and urls.any?
|
9
9
|
puts "Page #{page}, found #{urls.count} videos"
|
10
10
|
urls.each do |url|
|
11
|
-
|
11
|
+
`youtube-dl --audio-quality 320k --max-quality 22 -o '%(title)s.%(ext)s' -x --audio-format mp3 #{url}`
|
12
12
|
end
|
13
13
|
page = page + 1
|
14
14
|
end
|
data/lib/ydj/version.rb
CHANGED