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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/providers.rb +15 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3d4a7fd35e2e76c32a9f0d55ee59441a12b36ea53efd0d76948c88afa3f64be
4
- data.tar.gz: 19c788466ce35314456a120802101364d208627437d7c4e2db7bc27d2cf73b6f
3
+ metadata.gz: f2406a01e442ec859ae4c92a721bd23ba9322db9148bc51d8ab70fa1b5fb53eb
4
+ data.tar.gz: fcb679557994978ff7b6f96917b94d8081aa8c78fce8b85bf2a6cc774b2878e3
5
5
  SHA512:
6
- metadata.gz: acbbdf0b554ccf35cba875d742bf7c307210d942ce408a2f1c8c5ec80540bd632ecfe63a11924af1621ecaad8289202880b780b37c1527bd1499e940b13bfd06
7
- data.tar.gz: dd28a6cc25088c941ea887e84382336197cc078e50c8777b16ccce8a9bed5dd45fc18668b2ad45a7dc183679230106e7696b044ef5711151781c929e2a1a4d34
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(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nyaa-transmission
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Poon