Class: Sekitori::Generators::JuryoListGenerator
- Inherits:
-
ListGenerator
- Object
- ListGenerator
- Sekitori::Generators::JuryoListGenerator
- Defined in:
- lib/sekitori/generators/juryo_list_generator.rb
Constant Summary collapse
- BANZUKE =
'前頭(十両)'.freeze
- URL =
'https://ja.wikipedia.org/wiki/大相撲力士一覧'.freeze
- TARGET_XPATH_LIST =
[ '//h2[contains(span/text(), "十両(十枚目)")]/following-sibling::div/ul/li/a' ].freeze
- IGNORE_XPATH_LIST =
[ '//h2[contains(span/text(), "幕下以下")]/following-sibling::div/ul/li/a' ].freeze
Constants inherited from ListGenerator
Method Summary
Methods inherited from ListGenerator
clean, #execute, get, get_from_file, get_from_http, #list, parse, #to_h