class Spotlight::Bing

Defined in:

spotlight/engines/bing.cr

Instance Method Summary

Instance methods inherited from class Spotlight::Base

build_url(query : String, page : Int32 = 1) : String build_url, handle_errors(response) handle_errors, parse(html : String) : Array(Spotlight::Result) parse, search(query : String, limit : Int32 = 10, page : Int32 = 1) search

Instance Method Detail

def build_url(query : String, page : Int32 = 1) : String #

[View source]
def parse(html : String) : Array(Spotlight::Result) #

[View source]
def parse_single_result(result : XML::Node) : Result | Nil #

[View source]