GithubHelp home page GithubHelp logo

sarrablo / katcr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xayon/katcr

0.0 2.0 0.0 43 KB

:tv: Python3.5 library to search in kickasstorrents

Home Page: http:/gourmetcoder.com

Python 100.00%

katcr's Introduction

image

๐Ÿ“บ Python3 + KickAssTorrents | CLI | Telegram

Python3.5 library to search in kickasstorrents

It's also a telegram bot and a command line interface ๐Ÿ˜‰

local

๐Ÿ““ Library Usage

Sample code for getting the first page of results:

from katcr import search
print(search("ubuntu"))

This library also comes with a command line interface and a telegram bot!

๐Ÿ“บ katcr - kickasstorrents command line interface

katcr comes with a simple but powerful command line interface, able to return either magnets or torrents.

image

Usage

Easy-as-it-gets python3.5 library to search magnets
in kickasstorrents

Usage:
    katcr --search=<SEARCH_TERM> --pages=<PAGES_NUM> --type=<TYPE> [--interactive]

Options:
    --search=<SEARCH_TERM>   Search term(s)
    --pages=<PAGES_NUM>      Number of pages to lookup
    --type=<magnet|torrent>  Type
    -i --interactive         Activate interactive menu to torrent selection
    -s --stream              Play the torrent in streaming mode (EXPERIMENTAL)
    -h --help                Show this screen

Examples:
    katcr --search "Search terms" --pages 3
    katcr --search "Search terms" --pages 1 --interactive
    katcr --search "Search terms" --pages 1 --type=magnet
    katcr --search "Search terms" --pages 1 --type=torrent
    katcr --pages 1

๐Ÿ‘พ KATBot - Kickasstorrents telegram bot

Katcr also comes with a telegram bot entry point.

It's a simple bot that replies with search results for each message it gets. It returns links to .torrent files from KAT.cr for the first page of results.

image

Usage

Telegram bot to query kickasstorrents

Usage:
    katcr_bot [options]

Options:
    --token=<BOT_TOKEN> Telegram bot token

Examples:
    katcr_bot --token 123123:123123

โœ… Experimental torrent streaming

This is an experimental feature!!

Using another library of mine, torrentstream I added experimental streaming support. That requires libtorrent.

Deluge guys have a good tutorial on how to get libtorrent going on multiple systems`

Support on windows / MacOs is probably not working on this feature. Please, if you've tested it on windows / MacOs contact me so we can work on that support.

โญ Installation

This is a python3.5 package available on pypi.

On windows and mac you can download python3.5 here. On linux distros, python3.5 is already on most package managers ๐Ÿ˜„

With python3.5 installed just execute:

pip3.5 install katcr

If it asks about permissions and you don't know what to do, you should probably read Jamie Matthews's article about virtualenvs

:

๐ŸŒŸ Notes

This project is made with the best of intentions. For that times you need to search for somethink shared as a torrent on KAT (I.E, linux images). Logo is based on robot cat by Arsenty

If you like this project, show its appreciation by starring it, if you're using it and want to write to me personally, feel free to do so at [email protected]. If you've got a bug to report, please use the github ticketing system

katcr's People

Contributors

xayon avatar sarrablo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.