mirror of
https://github.com/searxng/searxng.git
synced 2026-08-06 07:11:23 +00:00
Compare commits
2 Commits
22e1d30017
...
ea4a55fa57
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea4a55fa57 | ||
|
|
d514dea5cc |
@@ -23,7 +23,7 @@ paging = True
|
|||||||
# search-url
|
# search-url
|
||||||
base_url = 'https://www.deviantart.com'
|
base_url = 'https://www.deviantart.com'
|
||||||
|
|
||||||
results_xpath = '//div[@class="_2pZkk"]/div/div/a'
|
results_xpath = '//div[@class="V_S0t_"]/div/div/a'
|
||||||
url_xpath = './@href'
|
url_xpath = './@href'
|
||||||
thumbnail_src_xpath = './div/img/@src'
|
thumbnail_src_xpath = './div/img/@src'
|
||||||
img_src_xpath = './div/img/@srcset'
|
img_src_xpath = './div/img/@srcset'
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ max_page = 5
|
|||||||
"""5 pages maximum (``&p=5``): Trying to do more just results in an improper
|
"""5 pages maximum (``&p=5``): Trying to do more just results in an improper
|
||||||
redirect"""
|
redirect"""
|
||||||
|
|
||||||
|
# Otherwise Qwant will return 403 if not set
|
||||||
|
send_accept_language_header = True
|
||||||
|
|
||||||
qwant_categ = None
|
qwant_categ = None
|
||||||
"""One of ``web-lite`` (or ``web``), ``news``, ``images`` or ``videos``"""
|
"""One of ``web-lite`` (or ``web``), ``news``, ``images`` or ``videos``"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user