diff options
Diffstat (limited to 'searx/engines/startpage.py')
-rw-r--r-- | searx/engines/startpage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py index cf6872717..7b87808b9 100644 --- a/searx/engines/startpage.py +++ b/searx/engines/startpage.py @@ -245,7 +245,7 @@ def _fetch_supported_languages(resp): dom = html.fromstring(resp.text) sp_lang_names = [] - for option in dom.xpath('//form[@id="settings-form"]//select[@name="language"]/option'): + for option in dom.xpath('//form[@name="settings"]//select[@name="language"]/option'): sp_lang_names.append((option.get('value'), extract_text(option).lower())) supported_languages = {} |