nyaa-transmission 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/providers.rb +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2406a01e442ec859ae4c92a721bd23ba9322db9148bc51d8ab70fa1b5fb53eb
|
4
|
+
data.tar.gz: fcb679557994978ff7b6f96917b94d8081aa8c78fce8b85bf2a6cc774b2878e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3660860445933ba774062094336256ad5c56ae1739a472a991aa407066c632a9b68b13b2ad1bf95d2c19d9cc29d327374c5d1c13164110a79f42b3ac143ba67
|
7
|
+
data.tar.gz: 76e4099c6d28e433dbcd9303d5884a82140c3ca3fc701319e027b325c881bff836d36216dce3551e9d6bb6b6344345b50ab86319dde6c4b6e9bfc0068b177638
|
data/lib/providers.rb
CHANGED
@@ -38,6 +38,21 @@ class EraiRaws < Provider
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
class SubsPlease < Provider
|
42
|
+
def self.search_for(series)
|
43
|
+
search_criteria = NyaaSearch.new(
|
44
|
+
:filter => Nyaa::Filter::TrustedOnly,
|
45
|
+
:category => Nyaa::Category::Anime::EnglishTranslated,
|
46
|
+
:query => "1080p -batch #{series}",
|
47
|
+
:submitter => "subsplease",
|
48
|
+
:page => 1
|
49
|
+
)
|
50
|
+
|
51
|
+
scraper = NyaaScraper.new(search_criteria)
|
52
|
+
return scraper.magnets
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
41
56
|
class Blackjaxx < Provider
|
42
57
|
def self.search_for(series)
|
43
58
|
search_criteria = NyaaSearch.new(
|