Class: Sekitori::Generators::YokozunaListGenerator
- Inherits:
-
ListGenerator
- Object
- ListGenerator
- Sekitori::Generators::YokozunaListGenerator
- Defined in:
- lib/sekitori/generators/yokozuna_list_generator.rb
Constant Summary collapse
- BANZUKE =
'横綱'.freeze
- URL =
'https://ja.wikipedia.org/wiki/横綱一覧'.freeze
- TARGET_XPATH_LIST =
['//h2[contains(span/text(), "歴代横綱")]/following-sibling::table[1]//td[1]//a'].freeze
Constants inherited from ListGenerator
ListGenerator::CACHE_DIR, ListGenerator::IGNORE_XPATH_LIST
Method Summary
Methods inherited from ListGenerator
clean, #execute, get, get_from_file, get_from_http, #list, parse, #to_h