aa-vimeo-downloader 0.0.0 → 0.0.1
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.
- checksums.yaml +4 -4
- data/lib/aa-vimeo-downloader.rb +15 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc52715e2b8ab4980d76623718871a3f6670b22b
|
4
|
+
data.tar.gz: 9050eacfcd4b94fa798144e76baf94c09d8ba292
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b73a5ca32dfcbc06743bfb4a404086e69eef58bfd7e99a58d2802e7ffd03b3bbde40458d2c7b118e85689d7f357766e86b4920de4459a8ab944bcb0d2dd2a102
|
7
|
+
data.tar.gz: 68fc7e067d6c00e7abf88fd83bfeb5ca3a8cc4d071fa52b7d8e9a82382e11c14800ee37d2486b060e68118fe21c8c02b8fea7bdc8e5d06390591b2c116f7138c
|
data/lib/aa-vimeo-downloader.rb
CHANGED
@@ -134,10 +134,21 @@ def get_video(name, link, pass)
|
|
134
134
|
# end
|
135
135
|
end
|
136
136
|
|
137
|
+
class Aa_vimeo_downloader
|
138
|
+
def initialize
|
139
|
+
creds = Credentials.new
|
140
|
+
raw = GitRaw.new creds.url
|
141
|
+
links = LinkParser.new(raw, creds)
|
142
|
+
make_video_dir(creds, links.links)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
137
146
|
if $PROGRAM_NAME == __FILE__
|
138
147
|
#has_youtube_dl? # This will go since ruby binding should work
|
139
|
-
creds = Credentials.new
|
140
|
-
raw = GitRaw.new creds.url
|
141
|
-
links = LinkParser.new(raw, creds)
|
142
|
-
make_video_dir(creds, links.links)
|
148
|
+
# creds = Credentials.new
|
149
|
+
# raw = GitRaw.new creds.url
|
150
|
+
# links = LinkParser.new(raw, creds)
|
151
|
+
# make_video_dir(creds, links.links)
|
152
|
+
Aa_vimeo_downloader.new
|
143
153
|
end
|
154
|
+
|