class NHKore::SearchScraper

@author Jonathan Bradley Whited @since 0.2.0

Constants

DEFAULT_RESULT_COUNT
FUTSUU_REGEX

www3.nhk.or.jp/news/html/20200220/k10012294001000.html

FUTSUU_SITE
YASASHII_REGEX

www3.nhk.or.jp/news/easy/k10012294001000/k10012294001000.html

YASASHII_SITE

Public Class Methods

new(url,eat_cookie: true,header: {},**kargs) click to toggle source

Search Engines are strict, so trigger using the default HTTP header fields with +header: {}+ and fetch/set the cookie using +eat_cookie: true+.

Calls superclass method NHKore::Scraper::new
# File lib/nhkore/search_scraper.rb, line 49
def initialize(url,eat_cookie: true,header: {},**kargs)
  super(url,eat_cookie: eat_cookie,header: header,**kargs)
end

Public Instance Methods