AnimeDL 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/anime_dl.gemspec +1 -1
- data/bin/anime-dl +1 -1
- data/lib/anime_dl.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a8ec0f3c0c07289d6b5ccb88c37159018298a8e
|
4
|
+
data.tar.gz: 704a9b7abe3e1082ba5669386cb1d5e96da530db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec21755a6b8f42b013780f03d8d31b9bebc372cdfd26aa182770576a1c3e1870697d7381ab50e43d6e68e71363250f8a166b7b843400d7029f5d12db4208b5a
|
7
|
+
data.tar.gz: 11d31f97aede04f5092d4894a79d39a854476f291c82813451f8cd876ea058b27ad36c5ff94b6b70b7603c172e252777a4274912e668eb82ca83e6ea3d70ef2c
|
data/README.md
CHANGED
@@ -14,7 +14,6 @@ Install the application with:
|
|
14
14
|
|
15
15
|
and run `anime-dl` on the command line.
|
16
16
|
|
17
|
-
|
18
17
|
<br>
|
19
18
|
|
20
19
|
To use this in a projext, add this line to your application's Gemfile:
|
@@ -26,6 +25,9 @@ And then execute:
|
|
26
25
|
|
27
26
|
$ bundle
|
28
27
|
|
28
|
+
<br>
|
29
|
+
(If nokogiri fails to install on a MacOS, check out http://www.nokogiri.org/tutorials/installing_nokogiri.html#mac_os_x)
|
30
|
+
|
29
31
|
|
30
32
|
## Usage
|
31
33
|
|
@@ -71,7 +73,7 @@ Below are a few examples (assuming anime below has more than 18 episodes).
|
|
71
73
|
Run `$ anime-dl -h` for the list of all options.
|
72
74
|
|
73
75
|
## Limitations
|
74
|
-
The page being scraped from, "animeheaven.eu", only allows a certain number of page views per day (>
|
76
|
+
The page being scraped from, "animeheaven.eu", only allows a certain number of page views per day (>170, <350).
|
75
77
|
Once that limit is exceeded, you will have to change networks or try again the next day.
|
76
78
|
|
77
79
|
|
data/anime_dl.gemspec
CHANGED
data/bin/anime-dl
CHANGED
data/lib/anime_dl.rb
CHANGED
@@ -43,7 +43,7 @@ module AnimeDL
|
|
43
43
|
def self.download(path, episodes)
|
44
44
|
episodes.each do |episode|
|
45
45
|
if ( File.exists?( File.join( path, "Episode #{episode.number}.mp4" )) )
|
46
|
-
puts "Skipping Episode #{episode.number} (already exists)"
|
46
|
+
puts "Skipping Episode #{episode.number} (already exists)\n\n"
|
47
47
|
next
|
48
48
|
else
|
49
49
|
puts "Downloading Episode #{episode.number}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: AnimeDL
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anirudh Sundar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|