Class: EraiRaws
Class Method Summary collapse
Methods inherited from Provider
Class Method Details
.search_for(series) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/providers.rb', line 26 def self.search_for(series) search_criteria = NyaaSearch.new( :filter => Nyaa::Filter::TrustedOnly, :category => Nyaa::Category::Anime::EnglishTranslated, :query => "Erai-raws 1080p -\"~\" #{series}", :page => 1 ) scraper = NyaaScraper.new(search_criteria) return scraper.magnets end |