viddl-rb 0.86 → 0.87

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/plugins/blip.rb +2 -1
  3. metadata +24 -78
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ data.tar.gz: c41d26533e5bf3172a5c7fd20f35a5162ff42df2adc98cc96576821a4be423f9c0b259c91ea46b7fc221a45633f35cf403ef0594705ad6fda92edb1a43c4c20d
4
+ metadata.gz: 990ab51d6c5a33fd08a1569778840f3312af849eb3f927715e1672c255bfe6446b53377518dcbd4c6cb5c0cb94719d6b8ab22a6fdb96b53885a445a89cf38418
5
+ SHA1:
6
+ data.tar.gz: b2c326702fdf6359149610f419fb878f673755db
7
+ metadata.gz: b2cc8a17aa040047655440dbfbd5d797d96a5aa4
data/plugins/blip.rb CHANGED
@@ -13,10 +13,11 @@ class Blip < PluginBase
13
13
  user = doc.at("//channel/item/blip:user").inner_text
14
14
  title = PluginBase.make_filename_safe(doc.at("//channel/item/title").inner_text)
15
15
  download_url = doc.at("//channel/item/media:group/media:content").attributes["url"].value
16
+ final_url = UtilityHelper.get_final_location(download_url)
16
17
  extention = download_url.split(".").last
17
18
  file_name = "#{id}-#{user}-#{title}.#{extention}"
18
19
 
19
- [{:url => download_url, :name => file_name}]
20
+ [{:url => final_url, :name => file_name}]
20
21
  end
21
22
 
22
23
  # usually id is last 7 digits
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viddl-rb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 167
5
- prerelease:
6
- segments:
7
- - 0
8
- - 86
9
- version: "0.86"
4
+ version: "0.87"
10
5
  platform: ruby
11
6
  authors:
12
7
  - Marc Seeger
@@ -14,21 +9,15 @@ autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
11
 
17
- date: 2013-10-06 00:00:00 Z
12
+ date: 2013-10-10 00:00:00 Z
18
13
  dependencies:
19
14
  - !ruby/object:Gem::Dependency
20
15
  name: nokogiri
21
16
  prerelease: false
22
17
  requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
18
  requirements:
25
19
  - - ~>
26
20
  - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 1
30
- - 5
31
- - 0
32
21
  version: 1.5.0
33
22
  type: :runtime
34
23
  version_requirements: *id001
@@ -36,86 +25,53 @@ dependencies:
36
25
  name: mechanize
37
26
  prerelease: false
38
27
  requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
28
  requirements:
41
- - - ">="
29
+ - &id003
30
+ - ">="
42
31
  - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
32
  version: "0"
47
33
  type: :runtime
48
34
  version_requirements: *id002
49
35
  - !ruby/object:Gem::Dependency
50
36
  name: progressbar
51
37
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
38
+ requirement: &id004 !ruby/object:Gem::Requirement
54
39
  requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
40
+ - *id003
61
41
  type: :runtime
62
- version_requirements: *id003
42
+ version_requirements: *id004
63
43
  - !ruby/object:Gem::Dependency
64
44
  name: multi_json
65
45
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
67
- none: false
46
+ requirement: &id005 !ruby/object:Gem::Requirement
68
47
  requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
48
+ - *id003
75
49
  type: :runtime
76
- version_requirements: *id004
50
+ version_requirements: *id005
77
51
  - !ruby/object:Gem::Dependency
78
52
  name: rake
79
53
  prerelease: false
80
- requirement: &id005 !ruby/object:Gem::Requirement
81
- none: false
54
+ requirement: &id006 !ruby/object:Gem::Requirement
82
55
  requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
56
+ - *id003
89
57
  type: :development
90
- version_requirements: *id005
58
+ version_requirements: *id006
91
59
  - !ruby/object:Gem::Dependency
92
60
  name: rest-client
93
61
  prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
95
- none: false
62
+ requirement: &id007 !ruby/object:Gem::Requirement
96
63
  requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
64
+ - *id003
103
65
  type: :development
104
- version_requirements: *id006
66
+ version_requirements: *id007
105
67
  - !ruby/object:Gem::Dependency
106
68
  name: minitest
107
69
  prerelease: false
108
- requirement: &id007 !ruby/object:Gem::Requirement
109
- none: false
70
+ requirement: &id008 !ruby/object:Gem::Requirement
110
71
  requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- hash: 3
114
- segments:
115
- - 0
116
- version: "0"
72
+ - *id003
117
73
  type: :development
118
- version_requirements: *id007
74
+ version_requirements: *id008
119
75
  description: An extendable commandline video downloader for flash video sites. Includes plugins for vimeo, youtube, dailymotion and more
120
76
  email: mail@marc-seeger.de
121
77
  executables:
@@ -149,37 +105,27 @@ files:
149
105
  homepage: https://github.com/rb2k/viddl-rb
150
106
  licenses: []
151
107
 
108
+ metadata: {}
109
+
152
110
  post_install_message:
153
111
  rdoc_options: []
154
112
 
155
113
  require_paths:
156
114
  - lib
157
115
  required_ruby_version: !ruby/object:Gem::Requirement
158
- none: false
159
116
  requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- hash: 3
163
- segments:
164
- - 0
165
- version: "0"
117
+ - *id003
166
118
  required_rubygems_version: !ruby/object:Gem::Requirement
167
- none: false
168
119
  requirements:
169
120
  - - ">="
170
121
  - !ruby/object:Gem::Version
171
- hash: 19
172
- segments:
173
- - 1
174
- - 3
175
- - 4
176
122
  version: 1.3.4
177
123
  requirements: []
178
124
 
179
125
  rubyforge_project: viddl-rb
180
- rubygems_version: 1.8.25
126
+ rubygems_version: 2.1.7
181
127
  signing_key:
182
- specification_version: 3
128
+ specification_version: 4
183
129
  summary: An extendable commandline video downloader for flash video sites.
184
130
  test_files: []
185
131