Kickasstorrents search lib with python3.5
Project description
Katcr
Easy-as-it-gets python3.5 library to search magnets in kickasstorrents (kat.cr)
Uses aiohttp to do paralell searches on kickasstorrents
It also exports a nice text user interface:
Usage: katcr --search <SEARCH_TERM> --pages <PAGES_NUM> Options: --search=<SEARCH_TERM> Search term(s) --pages=<PAGES_NUM> Number of pages to lookup Examples: katcr --search "Search terms" --pages 3 katcr --search "Search terms" --pages 1 katcr --pages 1
Usage
As a library, you can import the main coroutine with:
from katcr import search_magnets loop = asyncio.get_event_loop() task = asyncio.ensure_future(search_magnets("what", 1, loop)) loop.run_until_complete(task) for magnet in task.result(): yield magnet
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
katcr-0.0.2.tar.gz
(2.6 kB
view hashes)