diff options
| author | Dalf <alex@al-f.net> | 2019-07-25 07:59:54 +0200 |
|---|---|---|
| committer | Dalf <alex@al-f.net> | 2019-07-29 07:39:39 +0200 |
| commit | 6e0285b2db8e96b98a7348e973d399297a039f10 (patch) | |
| tree | c661ce2de7983c6351cd2687e45be51795dedaae /searx/plugins/https_rules/YouTube.xml | |
| parent | cbc5e13275fe3ea5bbab2c7665432398d2179c24 (diff) | |
[fix] wikidata engine: faster processing, remove one HTTP redirection.
* Search URL is https://www.wikidata.org/w/index.php?{query}&ns0=1 (with ns0=1 at the end to avoid an HTTP redirection)
* url_detail: remove the disabletidy=1 deprecated parameter
* Add eval_xpath function: compile once for all xpath.
* Add get_id_cache: retrieve all HTML with an id, avoid the slow to procress dynamic xpath '//div[@id="{propertyid}"]'.replace('{propertyid}')
* Create an etree.HTMLParser() instead of using the global one (see #1575)
Diffstat (limited to 'searx/plugins/https_rules/YouTube.xml')
0 files changed, 0 insertions, 0 deletions