[fix] solidtorrents engine: JSON API no longer exists

The API endpoint, we where using does not exist anymore.  This patch is a
rewrite that parses the HTML page.

Related: https://github.com/paulgoio/searxng/issues/17
Closes: https://github.com/searxng/searxng/issues/858

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2022-02-04 01:11:44 +01:00
parent 9fae80facb
commit d92b3d96fd
2 changed files with 64 additions and 25 deletions

View file

@ -1257,8 +1257,13 @@ engines:
- name: solidtorrents
engine: solidtorrents
shortcut: solid
timeout: 3.0
timeout: 4.0
disabled: false
base_url:
- https://solidtorrents.net
- https://solidtorrents.eu
- https://solidtorrents.to
- https://bitsearch.to
# For this demo of the sqlite engine download:
# https://liste.mediathekview.de/filmliste-v2.db.bz2