.oO SearXNG Developer Documentation Oo.
|
Functions | |
request (query, params) | |
response (resp) | |
Variables | |
dict | about |
list | categories = ["packages", "it"] |
str | base_url = "https://pkg.go.dev" |
int | max_result_count = 50 |
str | results_xpath = '/html/body/main/div[contains(@class,"SearchResults")]/div[not(@class)]/div[@class="SearchSnippet"]' |
str | url_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/@href' |
str | title_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/text()' |
str | package_name_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/span/text()' |
str | version_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span/strong[1]/text()' |
tuple | updated_xpath |
str | content_xpath = './p[@class="SearchSnippet-synopsis"]' |
str | popularity_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/a/strong/text()' |
str | license_name_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span[@data-test-id="snippet-license"]/a/text()' |
str | license_url_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span[@data-test-id="snippet-license"]/a/@href' |
pkg.go.dev (packages)
searx.engines.pkg_go_dev.request | ( | query, | |
params ) |
Definition at line 40 of file pkg_go_dev.py.
searx.engines.pkg_go_dev.response | ( | resp | ) |
Definition at line 51 of file pkg_go_dev.py.
dict searx.engines.pkg_go_dev.about |
Definition at line 13 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.base_url = "https://pkg.go.dev" |
Definition at line 23 of file pkg_go_dev.py.
list searx.engines.pkg_go_dev.categories = ["packages", "it"] |
Definition at line 21 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.content_xpath = './p[@class="SearchSnippet-synopsis"]' |
Definition at line 34 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.license_name_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span[@data-test-id="snippet-license"]/a/text()' |
Definition at line 36 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.license_url_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span[@data-test-id="snippet-license"]/a/@href' |
Definition at line 37 of file pkg_go_dev.py.
int searx.engines.pkg_go_dev.max_result_count = 50 |
Definition at line 24 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.package_name_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/span/text()' |
Definition at line 29 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.popularity_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/a/strong/text()' |
Definition at line 35 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.results_xpath = '/html/body/main/div[contains(@class,"SearchResults")]/div[not(@class)]/div[@class="SearchSnippet"]' |
Definition at line 26 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.title_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/text()' |
Definition at line 28 of file pkg_go_dev.py.
tuple searx.engines.pkg_go_dev.updated_xpath |
Definition at line 31 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.url_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/@href' |
Definition at line 27 of file pkg_go_dev.py.
str searx.engines.pkg_go_dev.version_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span/strong[1]/text()' |
Definition at line 30 of file pkg_go_dev.py.