torrent_download.search package¶
Submodules¶
torrent_download.search.NyaaSearchEngine module¶
-
class
torrent_download.search.NyaaSearchEngine.
NyaaSearchEngine
¶ Bases:
torrent_download.search.SearchEngine.SearchEngine
Search engine for nyaa.si
-
classmethod
name
() → str¶ - Returns
The name of the search engine
-
search
(search_term) → List[torrent_download.entities.TorrentInfo.TorrentInfo]¶ Performs the actual search :param search_term: The term to search for :return: The search results
-
classmethod
torrent_download.search.SearchEngine module¶
-
class
torrent_download.search.SearchEngine.
SearchEngine
¶ Bases:
object
Specifies the methods a search engine needs to be able to do
-
classmethod
name
() → str¶ - Returns
The name of the search engine
-
search
(search_term) → List[torrent_download.entities.TorrentInfo.TorrentInfo]¶ Performs the actual search :param search_term: The term to search for :return: The search results
-
classmethod
Module contents¶
-
torrent_download.search.
search_engines
: List[Type[torrent_download.search.SearchEngine.SearchEngine]] = [<class 'torrent_download.search.NyaaSearchEngine.NyaaSearchEngine'>]¶ All available search engines