diff options
author | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2021-12-07 16:28:44 +0100 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2021-12-07 16:28:44 +0100 |
commit | 32d4b6a638456caf50a5f99f2a0b57d60d418c5f (patch) | |
tree | 3ef4ebddb9d6bb6bbb46ac10663b1a714063901e /searx/engines/btdigg.py | |
parent | 7a1db4de351875bebb4a8e7ffbe6710ad5b518c5 (diff) |
New upstream version 1.0.0+dfsg1
Diffstat (limited to 'searx/engines/btdigg.py')
-rw-r--r-- | searx/engines/btdigg.py | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py index 72bda8d..863396f 100644 --- a/searx/engines/btdigg.py +++ b/searx/engines/btdigg.py @@ -1,19 +1,25 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ BTDigg (Videos, Music, Files) - - @website https://btdig.com - @provide-api yes (on demand) - - @using-api no - @results HTML (using search portal) - @stable no (HTML can change) - @parse url, title, content, seed, leech, magnetlink """ from lxml import html from urllib.parse import quote, urljoin from searx.utils import extract_text, get_torrent_size +# about +about = { + "website": 'https://btdig.com', + "wikidata_id": 'Q4836698', + "official_api_documentation": { + 'url': 'https://btdig.com/contacts', + 'comment': 'on demand' + }, + "use_official_api": False, + "require_api_key": False, + "results": 'HTML', +} + # engine dependent config categories = ['videos', 'music', 'files'] paging = True |