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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.destatis
 

Functions

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

Variables

dict searx.engines.destatis.about
 
list searx.engines.destatis.categories = []
 
bool searx.engines.destatis.paging = True
 
str searx.engines.destatis.base_url = "https://www.destatis.de"
 
str searx.engines.destatis.search_url = f"{base_url}/SiteGlobals/Forms/Suche/Expertensuche_Formular.html"
 
str searx.engines.destatis.results_xpath = '//div[contains(@class, "l-content-wrapper")]/div[contains(@class, "row")]/div[contains(@class, "column")]/div[contains(@class, "c-result"){extra}]'
 
str searx.engines.destatis.results_xpath_filter_recommended = " and not(contains(@class, 'c-result--recommended'))"
 
str searx.engines.destatis.url_xpath = './/a/@href'
 
str searx.engines.destatis.title_xpath = './/a/text()'
 
str searx.engines.destatis.date_xpath = './/a/span[contains(@class, "c-result__date")]'
 
str searx.engines.destatis.content_xpath = './/div[contains(@class, "column")]/p/text()'
 
str searx.engines.destatis.doctype_xpath = './/div[contains(@class, "c-result__doctype")]/p'