.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
pkg_go_dev.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.pkg_go_dev
 

Functions

 searx.engines.pkg_go_dev.request (query, params)
 
 searx.engines.pkg_go_dev.response (resp)
 

Variables

dict searx.engines.pkg_go_dev.about
 
list searx.engines.pkg_go_dev.categories = ["packages", "it"]
 
str searx.engines.pkg_go_dev.base_url = "https://pkg.go.dev"
 
int searx.engines.pkg_go_dev.max_result_count = 50
 
str searx.engines.pkg_go_dev.results_xpath = '/html/body/main/div[contains(@class,"SearchResults")]/div[not(@class)]/div[@class="SearchSnippet"]'
 
str searx.engines.pkg_go_dev.url_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/@href'
 
str searx.engines.pkg_go_dev.title_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/text()'
 
str searx.engines.pkg_go_dev.package_name_xpath = './div[@class="SearchSnippet-headerContainer"]/h2/a/span/text()'
 
str searx.engines.pkg_go_dev.version_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span/strong[1]/text()'
 
tuple searx.engines.pkg_go_dev.updated_xpath
 
str searx.engines.pkg_go_dev.content_xpath = './p[@class="SearchSnippet-synopsis"]'
 
str searx.engines.pkg_go_dev.popularity_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/a/strong/text()'
 
str searx.engines.pkg_go_dev.license_name_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span[@data-test-id="snippet-license"]/a/text()'
 
str searx.engines.pkg_go_dev.license_url_xpath = './div[contains(@class, "SearchSnippet-infoLabel")]/span[@data-test-id="snippet-license"]/a/@href'