Class: Blackjaxx

Inherits:
Provider show all
Defined in:
lib/providers.rb

Class Method Summary collapse

Methods inherited from Provider

list

Class Method Details

.search_for(series) ⇒ Object



40
41
42
43
44
45
46
47
48
49
50
# File 'lib/providers.rb', line 40

def self.search_for(series)
  search_criteria = NyaaSearch.new(
    :filter => Nyaa::Filter::NoFilter,
    :category => Nyaa::Category::Anime::EnglishTranslated,
    :query => "Blackjaxx 1080p -batch #{series}",
    :page => 1
  )

  scraper = NyaaScraper.new(search_criteria)
  return scraper.magnets
end