summaryrefslogtreecommitdiff
path: root/searx/engines/gigablast.py
AgeCommit message (Collapse)Author
2023-04-06[fix] Gigablast.com has been erasedMarkus Heiser
[1] https://www.reddit.com/r/searchengines/comments/128wdcp/gigablastcom_has_been_erased/ Closes: https://github.com/searxng/searxng/issues/2321 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-29[fix] engine gigablast: add &userid=<User ID>&code=<Feed Code>Markus Heiser
Gigablast's API does block unauthorized request[1]. [1] https://gigablast.com/searchfeed.html Closes: https://github.com/searxng/searxng/issues/1454 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-02-10[mod] make python code pylint 2.16.1 compliantMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-05[enh] add more categoriesMartin Fischer
2021-12-27[format.python] initial formatting of the python codeMarkus Heiser
This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-06[fix] gigablast engineAlexandre Flament
fetch extra params after 3000 seconds
2021-09-07[pylint] engines: drop no longer needed 'missing-function-docstring'Markus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-06[mod] one logger per engine - drop obsolete logger.getChildMarkus Heiser
Remove the no longer needed `logger = logger.getChild(...)` from engines. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26[pylint] tag PYLINT_FILES by comment `# lint: pylint`Markus Heiser
These py files are linted by `test.pylint`, all other files are linted by `test.pep8`. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-12[httpx] replace searx.poolrequests by searx.networkAlexandre Flament
settings.yml: * outgoing.networks: * can contains network definition * propertiers: enable_http, verify, http2, max_connections, max_keepalive_connections, keepalive_expiry, local_addresses, support_ipv4, support_ipv6, proxies, max_redirects, retries * retries: 0 by default, number of times searx retries to send the HTTP request (using different IP & proxy each time) * local_addresses can be "192.168.0.1/24" (it supports IPv6) * support_ipv4 & support_ipv6: both True by default see https://github.com/searx/searx/pull/1034 * each engine can define a "network" section: * either a full network description * either reference an existing network * all HTTP requests of engine use the same HTTP configuration (it was not the case before, see proxy configuration in master)
2021-02-01[mod] dynamically set language_support variableAlexandre Flament
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
2021-01-14[enh] engines: add about variableAlexandre Flament
move meta information from comment to the about variable so the preferences, the documentation can show these information
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-05-29[fix] gigablast requires a random extra parameterMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-05-28[fix] revise of the gigablast engine (WIP)Markus Heiser
The gigablast API has changed and seems to have some quirks, this is the first revise. More work (hacks) are needed. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-05-28[fix] gigablast does no longer support *supported_languages_url*Markus Heiser
Since there are zero results, we can remove it: $ make engines.languages fetch languages .. ... fetched 0 languages from engine gigablast Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-05-28[fix] remove debug print from commit e5305f8Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-21[enh] display error message if gigablast extra param expiredAdam Tauber
2019-12-21[fix] pep8Adam Tauber
2019-12-21[fix] fetch extra search param of gigablast - fixes #1293Adam Tauber
2019-11-15[mod] speed optimizationDalf
compile XPath only once avoid redundant call to urlparse get_locale(webapp.py): avoid useless call to request.accept_languages.best_match
2019-10-16[fix] update gigablast engineAdam Tauber
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2018-05-16add missing parameter to gigablast search urlNoémi Ványi
Closes #1293
2017-12-09[fix] gigablast url parameter change - fixes #1107Adam Tauber
2017-12-06remove 'all' option from search languagesmarc
2017-08-31[fix] gigablast pep8 fixmisnyo
2017-08-31[fix] gigablast api fixmisnyo
2017-05-15[enh] py3 compatibilityAdam Tauber
2016-12-29change language list to only include languages with a minimum of enginesmarc
that support them. users can still query lesser supported through the :lang_code bang.
2016-12-15tests for _fetch_supported_languages in enginesmarc
and refactor method to make it testable without making requests
2016-12-13[mod] fetch supported languages for several enginesmarc
utils/fetch_languages.py gets languages supported by each engine and generates engines_languages.json with each engine's supported language.
2016-12-13Add language support for more engines.marc
2016-12-13filter langaugesmarc
2016-12-13[enh] add supported_languages on engines and auto-generate languages.pymarc
2016-12-09[mod] do not escape html content in enginesAdam Tauber
2016-06-12[fix] gigablast redirect - closes #575Adam Tauber
2016-01-31[fix] gigablast params ++ json response formatAdam Tauber
2015-12-23[enh] improve gigablast engineThomas Pointhuber
add language and safesearch support
2015-12-22[fix] gigablast https + url paramsAdam Tauber
2015-10-16[fix] gigablast url paramsAdam Tauber
2015-09-11[fix] add missing scheme to duplicated results too ++ revert gigablasts handlingAdam Tauber
2015-09-11[fix] handle missing url scheme - fixes #428Adam Tauber
2015-05-02Merge pull request #308 from dalf/versions_upgradeAdam Tauber
update versions.cfg to use the current up-to-date packages
2015-05-02update versions.cfg to use the current up-to-date packagesAlexandre Flament
2015-05-02[enh] reduce the number of http outgoing connections.Alexandre Flament
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
2015-02-08[enh] add gigablast engineThomas Pointhuber