viddl-rb 0.94 → 0.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -7
  2. data/README.md +8 -1
  3. data/plugins/youtube.rb +1 -1
  4. metadata +75 -108
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: de58e6fcb2fc70e8074588144fb452e02a5eb6d4
4
- data.tar.gz: 2914138014499efe44b37c31ef127091d1d89b1f
5
- SHA512:
6
- metadata.gz: ef3f1096fe776c7b5692fd1d3e78437638b1ef874e3dde25860ad525efa47bba796fcc24b587b73ca77f2c7de57a252daf6017c0054d7f0e54589cc96a039ff9
7
- data.tar.gz: f7495ce3416925fd415c89d661bb986a95cd98440fa5c1371ec42f27435997d8975e415af9c21fbeef29c5b699171b4466d2eecd86ad9f183e8e8cc40c92f67c
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6b2cb672ebfa65f7f7231fdd615a77287757a529
4
+ data.tar.gz: 03441807280152b0f821e648bec6289862aa7a60
5
+ SHA512:
6
+ metadata.gz: 369b0e52e1d62e9616b31f1477a4fc9cd7c274cd994404e9ce104ebcad2ff82c9168cb37c531362f65462c801ddf0e84cf8205c6d908a447baa45949778d73db
7
+ data.tar.gz: 2df7a2726f09cd7c74a5e39386e4fe22a411314e93f936a4b84873f75a008aa69c5fd0ba252352af66a230e28eca3625ff394ac072dd696d834597b5df11564a
data/README.md CHANGED
@@ -38,6 +38,10 @@ Setting the video save directory:
38
38
  The --save-dir option works with both absolute and relative paths (relative based on the directory viddl-rb is run from).
39
39
  If you want to save to a folder with spaces in it, you have to quote the path like this: --save-dir "C:/my videos"
40
40
 
41
+ __Want faster download speeds?__
42
+
43
+ Consider installing aria2 (http://aria2.sourceforge.net/). aria2 differs from curl and wget in that it supports opening multiple connections when downloading a file which may give significant speed improvements if the download service limits the bandwidth a connection receives. viddl-rb will use aria2 as the default downloader if it is available.
44
+
41
45
  __Youtube plugin specifics:__
42
46
 
43
47
  Download all videos on a playlist:
@@ -46,7 +50,10 @@ Download all videos on a playlist:
46
50
  Download all videos from a user:
47
51
  ```viddl-rb http://www.youtube.com/user/tedtalksdirector```
48
52
 
49
- Filter videos to download from a user/playlist:
53
+ Download all videos from a channel:
54
+ ```viddl-rb http://www.youtube.com/channel/UCa2K4rTxFfnyOhujv7Dmwlg```
55
+
56
+ Filter videos to download from a user/channel/playlist:
50
57
  ```viddl-rb http://www.youtube.com/user/tedtalksdirector --filter /internet/i```
51
58
 
52
59
  The --filter argument accepts a regular expression and will only download videos where the title matches the regex.
data/plugins/youtube.rb CHANGED
@@ -250,7 +250,7 @@ class Youtube < PluginBase
250
250
 
251
251
  if url.include?("view_play_list") || url.include?("playlist?list=") # if playlist URL
252
252
  parse_playlist(url)
253
- elsif username = url[/\/user\/([\w\d]+)(?:\/|$)/, 1] # if user URL
253
+ elsif username = url[/\/(?:user|channel)\/([\w\d]+)(?:\/|$)/, 1] # if user/channel URL
254
254
  parse_user(username)
255
255
  else # if neither return nil
256
256
  nil
metadata CHANGED
@@ -1,134 +1,93 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: viddl-rb
3
- version: !ruby/object:Gem::Version
4
- version: '0.94'
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.95"
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Marc Seeger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-02-16 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: mime-types
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
16
  prerelease: false
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'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - &id002
20
+ - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
34
23
  type: :runtime
24
+ version_requirements: *id001
25
+ - !ruby/object:Gem::Dependency
26
+ name: nokogiri
35
27
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: progressbar
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
28
+ requirement: &id003 !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - *id002
48
31
  type: :runtime
32
+ version_requirements: *id003
33
+ - !ruby/object:Gem::Dependency
34
+ name: progressbar
49
35
  prerelease: false
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'
36
+ requirement: &id004 !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - *id002
62
39
  type: :runtime
40
+ version_requirements: *id004
41
+ - !ruby/object:Gem::Dependency
42
+ name: multi_json
63
43
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
44
+ requirement: &id005 !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - *id002
47
+ type: :runtime
48
+ version_requirements: *id005
49
+ - !ruby/object:Gem::Dependency
70
50
  name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
51
  prerelease: false
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'
52
+ requirement: &id006 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - *id002
90
55
  type: :development
56
+ version_requirements: *id006
57
+ - !ruby/object:Gem::Dependency
58
+ name: rest-client
91
59
  prerelease: false
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'
60
+ requirement: &id007 !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - *id002
104
63
  type: :development
64
+ version_requirements: *id007
65
+ - !ruby/object:Gem::Dependency
66
+ name: minitest
105
67
  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
68
+ requirement: &id008 !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - *id002
71
+ type: :development
72
+ version_requirements: *id008
73
+ description: An extendable commandline video downloader for flash video sites. Includes plugins for vimeo, youtube, dailymotion and more
113
74
  email: mail@marc-seeger.de
114
- executables:
75
+ executables:
115
76
  - viddl-rb
116
77
  extensions: []
78
+
117
79
  extra_rdoc_files: []
118
- files:
119
- - Gemfile
120
- - Gemfile.lock
121
- - README.md
122
- - Rakefile
80
+
81
+ files:
123
82
  - bin/helper/downloader.rb
124
83
  - bin/helper/driver.rb
125
84
  - bin/helper/parameter-parser.rb
126
85
  - bin/viddl-rb
86
+ - lib/viddl-rb.rb
127
87
  - helper/audio-helper.rb
128
88
  - helper/download-helper.rb
129
89
  - helper/plugin-helper.rb
130
90
  - helper/utility-helper.rb
131
- - lib/viddl-rb.rb
132
91
  - plugins/arte_plus_seven.rb
133
92
  - plugins/blip.rb
134
93
  - plugins/dailymotion.rb
@@ -137,29 +96,37 @@ files:
137
96
  - plugins/veoh.rb
138
97
  - plugins/vimeo.rb
139
98
  - plugins/youtube.rb
99
+ - Gemfile
100
+ - Gemfile.lock
101
+ - Rakefile
102
+ - README.md
140
103
  homepage: https://github.com/rb2k/viddl-rb
141
- licenses:
104
+ licenses:
142
105
  - MIT
143
106
  metadata: {}
107
+
144
108
  post_install_message:
145
109
  rdoc_options: []
146
- require_paths:
110
+
111
+ require_paths:
147
112
  - lib
148
- required_ruby_version: !ruby/object:Gem::Requirement
149
- requirements:
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
150
115
  - - ">="
151
- - !ruby/object:Gem::Version
116
+ - !ruby/object:Gem::Version
152
117
  version: 1.9.0
153
- required_rubygems_version: !ruby/object:Gem::Requirement
154
- requirements:
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
155
120
  - - ">="
156
- - !ruby/object:Gem::Version
121
+ - !ruby/object:Gem::Version
157
122
  version: 1.3.4
158
123
  requirements: []
124
+
159
125
  rubyforge_project: viddl-rb
160
- rubygems_version: 2.2.0
126
+ rubygems_version: 2.0.14
161
127
  signing_key:
162
128
  specification_version: 4
163
129
  summary: An extendable commandline video downloader for flash video sites.
164
130
  test_files: []
131
+
165
132
  has_rdoc: false