QBittorrent::Model::SearchResult
Inherits JSON::Serializable < Struct < Value < Object
A single search result (element of SearchResultsResponse#results, see
ext/api-map.md §3).
file_size, nb_seeders and nb_leechers are -1 when the engine did
not report a value. engine_name is a qB 5.x addition and pub_date is
not documented on the wiki but emitted by some engines — both are nilable.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
engine_name
Name of the search engine/plugin that produced the result (qB 5.x addition; nilable to tolerate older builds).
pub_date
Publication date as Unix epoch seconds, as reported by the engine
(qB 5.x addition, undocumented on the wiki; -1 or nil when unknown).