Class: Nicovideo::TagSearch

Inherits:
Search show all
Defined in:
lib/nicovideo/tagsearch.rb

Constant Summary

Constants inherited from Page

Page::BASE_TITLE1, Page::BASE_TITLE2, Page::BASE_URL, Page::NV_DEBUG_LEVEL

Instance Method Summary collapse

Methods inherited from Search

#each, #next, #page=, #pagenum=, #prev, #to_a, #url

Methods inherited from Page

#exists?, #html, #title=

Constructor Details

#initialize(agent, keyword, sort = nil, order = nil, pagenum = 1) ⇒ TagSearch

Returns a new instance of TagSearch.



6
7
8
9
10
# File 'lib/nicovideo/tagsearch.rb', line 6

def initialize agent, keyword, sort=nil, order=nil, pagenum=1
  super(agent, keyword, sort, order, pagenum)
  @search_type = 'tag'
  @url = url()
end