ydj 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. data/lib/ydj.rb +1 -1
  2. data/lib/ydj/version.rb +1 -1
  3. 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
- system("youtube-dl --audio-quality 320k --max-quality 22 -o '%(title)s.%(ext)s' -x --audio-format mp3 #{url}")
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
@@ -1,3 +1,3 @@
1
1
  module Ydj
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ydj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: