Noémi Ványi
54697a8705
Fix online dictionaries
2022-07-30 21:54:24 +02:00
Noémi Ványi
85034b49ef
Remove `httpx` and use `requests` instead ( #3305 )
...
## What does this PR do?
This PR prepares for removing `httpx`, and reverts back to `requests`.
## Why is this change important?
`httpx` hasn't proven itself to be faster or better than `requests`. On the other
hand it has caused issues on Windows.
=============================================
Please update your environment to use requests instead of httpx.
=============================================
2022-07-30 20:56:56 +02:00
Alexandre Flament
88a96baedc
[enh] replace requests by httpx
2021-05-03 21:39:37 +02:00
Alexandre Flament
a4dcfa025c
[enh] engines: add about variable
...
move meta information from comment to the about variable
so the preferences, the documentation can show these information
2021-01-14 20:57:17 +01:00
Alexandre Flament
02fc4147ce
[mod] dictzone, translated, currency_convert: use engine_type online_curency and online_dictionnary
2020-12-17 11:39:36 +01:00
Noémi Ványi
3a63dfbdd7
display if an engine does not support https
...
Closes #302
2020-12-09 20:49:54 +01:00
Dalf
c225db45c8
Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes
2020-09-10 10:49:42 +02:00
Dalf
1022228d95
Drop Python 2 (1/n): remove unicode string and url_utils
2020-09-10 10:39:04 +02:00
Dalf
85b3723345
[mod] speed optimization
...
compile XPath only once
avoid redundant call to urlparse
get_locale(webapp.py): avoid useless call to request.accept_languages.best_match
2019-11-15 09:33:15 +01:00
Dalf
fbf6b689dd
[fix] dictzone engine
2019-08-05 15:43:21 +02:00
potato
9b82cb1908
[fix] is_valid_lang fixed for new languages.py + dictzone engine encoding
2017-06-25 18:29:19 +02:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
Adam Tauber
16bdc0baf4
[mod] do not escape html content in engines
2016-12-09 18:59:19 +01:00
Adam Tauber
3144ec1d59
[fix] unicode urls
2016-09-06 17:17:42 +02:00
potato
983415bc38
[enh] is_valid_lang moved to utils
2016-09-06 16:43:48 +02:00
potato
b7d578ae80
[enh] engine header comments
2016-09-06 16:36:04 +02:00
potato
22bd39fd42
[fix] only 1-word search triggers the engine
2016-09-06 15:07:47 +02:00
potato
7bf1013c15
[enh] removed missing params; [fix] pep8
2016-09-06 14:24:08 +02:00
potato
bc806bfab1
[fix] no lambda anymore, cgi.escape
2016-09-06 14:12:46 +02:00
potato
5416f0f248
[enh] dictionary engine renamed to dictzone
2016-09-06 12:50:56 +02:00