.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
torznab.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.torznab
 

Functions

 searx.engines.torznab.init (engine_settings=None)
 
Dict[str, Any] searx.engines.torznab.request (str query, Dict[str, Any] params)
 
List[Dict[str, Any]] searx.engines.torznab.response (httpx.Response resp)
 
Dict[str, Any] searx.engines.torznab.build_result (etree.Element item)
 
str|None searx.engines.torznab._map_result_url (str|None guid, str|None comments)
 
str|None searx.engines.torznab._map_leechers (str|None leechers, str|None seeders, str|None peers)
 
datetime|None searx.engines.torznab._map_published_date (str|None pubDate)
 
str|None searx.engines.torznab._map_torrent_file (str|None link, str|None enclosure_url)
 
str|None searx.engines.torznab._map_magnet_link (str|None magneturl, str|None guid, str|None enclosure_url, str|None link)
 
str|None searx.engines.torznab.get_attribute (etree.Element item, str property_name)
 
str|None searx.engines.torznab.get_torznab_attribute (etree.Element item, str attribute_name)
 

Variables

logging searx.engines.torznab.logger .Logger
 
dict searx.engines.torznab.about
 
list searx.engines.torznab.categories = ['files']
 
bool searx.engines.torznab.paging = False
 
bool searx.engines.torznab.time_range_support = False
 
str searx.engines.torznab.base_url = ''
 
str searx.engines.torznab.api_key = ''
 
list searx.engines.torznab.torznab_categories = []
 
bool searx.engines.torznab.show_torrent_files = False
 
bool searx.engines.torznab.show_magnet_links = True