aavimeodl 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +31 -21
- data/lib/aavimeodl/AVD.rb +2 -0
- data/lib/aavimeodl/version.rb +1 -1
- data/pkg/aavimeodl-0.2.1.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fa74f0a3caa5270bf33f9ec6bc9d87f5d78e824
|
4
|
+
data.tar.gz: e458795698f54a672ee30bd84776a4e437ac5671
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c64052c20d21b9341e304bc4fea7c1bc2f2a8a53edb1cc7bfb0296e2babcd1120ab4ce5e3facdb47763a48a6e3ed758db5bc87923d30353827c42d6a76859525
|
7
|
+
data.tar.gz: a6391616d1a758c268da68543dc5f220660dca330df0a96596cab3bdfaf2fb80efac7a7e486d71f82d97bc1029d8bbce6763781f9f5358eaa14ca7365213125a
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,27 +1,52 @@
|
|
1
1
|
# aa-vimeo-downloader
|
2
2
|
|
3
|
-
A
|
3
|
+
A __gem__ for App Academy students which __downloads the day's videos__ and places them __into a folder__, labeled in their __intended order__, to be __viewed without an internet connection__.
|
4
|
+
|
5
|
+
## Install
|
6
|
+
|
7
|
+
```bash
|
8
|
+
gem install aavimeodl
|
9
|
+
```
|
4
10
|
|
5
11
|
## Usage
|
6
12
|
|
7
13
|
```bash
|
8
|
-
|
14
|
+
aavimeodl [week+day] [url to readme raw]
|
9
15
|
```
|
10
16
|
|
11
17
|
"_<week+day>_" could be _w4d1_, _w2d2_, etc.
|
12
18
|
|
13
|
-
To get the url for the readme raw, simply navigate to the README.md file and select _raw_.
|
19
|
+
To get the url for the readme raw, simply navigate to the README.md file and select _raw_.
|
14
20
|
Once your screen is filled with plain, unformatted text, grab the url.
|
15
21
|
|
16
22
|
Here's an example where the user wants to download all the week 2, day 4 videos (with the url truncated):
|
17
23
|
|
18
24
|
```bash
|
19
|
-
|
25
|
+
aavimeodl w2d4 https://raw.githubusercontent.com/appacademy/curriculum/.......
|
20
26
|
```
|
21
27
|
|
22
28
|
The program will make a folder called _W2D4_videos_ and place all the day's videos in that folder. It might be smart to
|
23
29
|
navigate to the user's _Videos_ directory before running this script!
|
24
30
|
|
31
|
+
## Offline Video Playback
|
32
|
+
|
33
|
+
If you don't have a video player which allows the playback speed to be adjusted, consider giving VLC a try. [https://www.videolan.org/vlc/index.html](https://www.videolan.org/vlc/index.html)
|
34
|
+
|
35
|
+
### How I Turned this Into a Gem:
|
36
|
+
|
37
|
+
<details><summary>Links to Gem Guides</summary>
|
38
|
+
[http://guides.rubygems.org/make-your-own-gem/](http://guides.rubygems.org/make-your-own-gem/)
|
39
|
+
|
40
|
+
[http://robdodson.me/how-to-write-a-command-line-ruby-gem/](http://robdodson.me/how-to-write-a-command-line-ruby-gem/)
|
41
|
+
|
42
|
+
[http://guides.rubygems.org/specification-reference/#add_runtime_dependency](http://guides.rubygems.org/specification-reference/#add_runtime_dependency)
|
43
|
+
|
44
|
+
Example of an executable gem: [https://github.com/qrush/hola](https://github.com/qrush/hola), and the directions: [http://guides.rubygems.org/make-your-own-gem/#requiring-more-files](http://guides.rubygems.org/make-your-own-gem/#requiring-more-files)
|
45
|
+
|
46
|
+
The 1st parts here are helpful: [https://bundler.io/v1.13/guides/creating_gem](https://bundler.io/v1.13/guides/creating_gem)
|
47
|
+
</details>
|
48
|
+
|
49
|
+
<details><summary>Old README.md</summary>
|
25
50
|
## Install
|
26
51
|
|
27
52
|
### via copy-pasting this shell script into your terminal:
|
@@ -38,7 +63,7 @@ exec bash
|
|
38
63
|
|
39
64
|
After cloning this repository, run the install shell script like so:
|
40
65
|
|
41
|
-
```bash
|
66
|
+
```bash
|
42
67
|
bash install.sh
|
43
68
|
```
|
44
69
|
|
@@ -59,19 +84,4 @@ getaavids ...
|
|
59
84
|
|
60
85
|
This program requires youtube-dl. I've added an automatic installer to the program, so the user doesn't have to install it manually.
|
61
86
|
If you'd like to install it manually, refer to its website: [https://rg3.github.io/youtube-dl/](https://rg3.github.io/youtube-dl/)
|
62
|
-
|
63
|
-
## Video Playback
|
64
|
-
|
65
|
-
If you don't have a video player which allows the playback speed to be adjusted, consider giving VLC a try. [https://www.videolan.org/vlc/index.html](https://www.videolan.org/vlc/index.html)
|
66
|
-
|
67
|
-
## How I Turned this Into a Gem:
|
68
|
-
|
69
|
-
[http://guides.rubygems.org/make-your-own-gem/](http://guides.rubygems.org/make-your-own-gem/)
|
70
|
-
|
71
|
-
[http://robdodson.me/how-to-write-a-command-line-ruby-gem/](http://robdodson.me/how-to-write-a-command-line-ruby-gem/)
|
72
|
-
|
73
|
-
[http://guides.rubygems.org/specification-reference/#add_runtime_dependency](http://guides.rubygems.org/specification-reference/#add_runtime_dependency)
|
74
|
-
|
75
|
-
Example of an executable gem: [https://github.com/qrush/hola](https://github.com/qrush/hola), and the directions: [http://guides.rubygems.org/make-your-own-gem/#requiring-more-files](http://guides.rubygems.org/make-your-own-gem/#requiring-more-files)
|
76
|
-
|
77
|
-
The 1st parts here are helpful: [https://bundler.io/v1.13/guides/creating_gem](https://bundler.io/v1.13/guides/creating_gem)
|
87
|
+
</details>
|
data/lib/aavimeodl/AVD.rb
CHANGED
data/lib/aavimeodl/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aavimeodl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- candyapplecorn
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/aavimeodl/AVD.rb
|
88
88
|
- lib/aavimeodl/version.rb
|
89
89
|
- pkg/aavimeodl-0.1.1.gem
|
90
|
+
- pkg/aavimeodl-0.2.1.gem
|
90
91
|
homepage: https://github.com/candyapplecorn/aa-vimeo-downloader
|
91
92
|
licenses:
|
92
93
|
- MIT
|