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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.google
 

Functions

 searx.engines.google.get_google_info (params, eng_traits)
 
 searx.engines.google.detect_google_sorry (resp)
 
 searx.engines.google.request (query, params)
 
 searx.engines.google._parse_data_images (dom)
 
 searx.engines.google.response (resp)
 
 searx.engines.google.fetch_traits (EngineTraits engine_traits, bool add_domains=True)
 

Variables

logging searx.engines.google.logger .Logger
 
dict searx.engines.google.about
 
list searx.engines.google.categories = ['general', 'web']
 
bool searx.engines.google.paging = True
 
int searx.engines.google.max_page = 50
 
bool searx.engines.google.time_range_support = True
 
bool searx.engines.google.safesearch = True
 
dict searx.engines.google.time_range_dict = {'day': 'd', 'week': 'w', 'month': 'm', 'year': 'y'}
 
dict searx.engines.google.filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
 
str searx.engines.google.results_xpath = './/div[contains(@jscontroller, "SC7lYd")]'
 
str searx.engines.google.title_xpath = './/a/h3[1]'
 
str searx.engines.google.href_xpath = './/a[h3]/@href'
 
str searx.engines.google.content_xpath = './/div[contains(@data-sncf, "1")]'
 
str searx.engines.google.suggestion_xpath = '//div[contains(@class, "EIaa9b")]//a'
 
str searx.engines.google.UI_ASYNC = 'use_ac:true,_fmt:prog'
 
 searx.engines.google.RE_DATA_IMAGE = re.compile(r'"(dimg_[^"]*)"[^;]*;(data:image[^;]*;[^;]*);')
 
list searx.engines.google.skip_countries