Katastrophe: kat.cr from terminal

Katastrophe

After TPB, kat.cr is one of the most reliable sources for quality torrents. If you depend on torrents to download stuff, you may now search and download torrents from kat.cr without opening your browser, thanks to a new Python utility Katastrophe. This essentially means no more distracting ads or unwanted links. Katastrophe provides a very clean and responsive interface.

Features

  • very clean and uncluttered interface
  • browse by latest – latest apps, movies, latest TV, latest anime…
  • browse by category – apps, movies, TV, anime, songs…
  • search torrents
  • download a single, multiple of series of torrents files in a go
  • integrated bittorrent client from Lita (if none found in the system)

However, there are too many switches to remember. The program help comes in handy but auto-complete scripts would be a great improvement.

Another improvement could be an option to specify the torrent client, in case there are multiple in the system. For example, I prefer rTorrent.

Installation

Given the number of dependencies it has, the easiest and preferable way to install Katastrophe is using pip:

$ sudo pip install katastrophe

Usage

Katastrophe uses one switch each for each operation, so the number of switches are many. However, the program help is short and sweet:

$ katastrophe -h

Rating

Features: 4.5/5
Usability: 4/5

On GitHub: Katastrophe

9 thoughts on “Katastrophe: kat.cr from terminal”

  1. hello,

    yes, it works with sudo, with warning cache and wheel not belong to user and should use sudo -H.

    when i type in katastrophe -g, the result is below,

    sugiono@sugiono-X455LD:~$ katastrophe -g
    Traceback (most recent call last):
    File “/usr/local/bin/katastrophe”, line 11, in
    sys.exit(main())
    File “/usr/local/lib/python2.7/dist-packages/katastrophe/katastrophe.py”, line 214, in main
    games_torrent()
    File “/usr/local/lib/python2.7/dist-packages/katastrophe/latest.py”, line 287, in games_torrent
    torrents = fetch()
    File “/usr/local/lib/python2.7/dist-packages/katastrophe/latest.py”, line 93, in fetch
    source_code = requests.get(link)
    File “/home/sugiono/.local/lib/python2.7/site-packages/requests/api.py”, line 71, in get
    return request(‘get’, url, params=params, **kwargs)
    File “/home/sugiono/.local/lib/python2.7/site-packages/requests/api.py”, line 57, in request
    return session.request(method=method, url=url, **kwargs)
    File “/home/sugiono/.local/lib/python2.7/site-packages/requests/sessions.py”, line 475, in request
    resp = self.send(prep, **send_kwargs)
    File “/home/sugiono/.local/lib/python2.7/site-packages/requests/sessions.py”, line 585, in send
    r = adapter.send(request, **kwargs)
    File “/home/sugiono/.local/lib/python2.7/site-packages/requests/adapters.py”, line 477, in send
    raise SSLError(e, request=request)
    requests.exceptions.SSLError: [SSL] unknown error (_ssl.c:590)

    any idea how to make it work?

  2. this is what i got when i try to install katastrophe

    Failed building wheel for lxml
    Running setup.py clean for lxml
    Failed to build lxml
    Installing collected packages: bencode, bitstring, docopt, lxml, katastrophe
    Exception:
    Traceback (most recent call last):
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
    status = self.run(options, args)
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/commands/install.py”, line 317, in run
    prefix=options.prefix_path,
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/req/req_set.py”, line 742, in install
    **kwargs
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/req/req_install.py”, line 831, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/req/req_install.py”, line 1032, in move_wheel_files
    isolated=self.isolated,
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/wheel.py”, line 346, in move_wheel_files
    clobber(source, lib_dir, True)
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/wheel.py”, line 317, in clobber
    ensure_dir(destdir)
    File “/home/sugiono/.local/lib/python2.7/site-packages/pip/utils/__init__.py”, line 83, in ensure_dir
    os.makedirs(path)
    File “/usr/lib/python2.7/os.py”, line 157, in makedirs
    mkdir(name, mode)
    OSError: [Errno 13] Permission denied: ‘/usr/local/lib/python2.7/dist-packages/bencode’

    need advise please…..

    1. H,

      Please try with sudo (the last line shows a permission problem). I have updated the article as well. If that doesn’t work please raise a bug in the project’s GitHub page.

      1. hello,

        yes , it works with sudo, with warning cache and wheels not belong to user, and should use sudo -H.

        when i type in katastrophe -g, it does not work, the message is below,

        sugiono@sugiono-X455LD:~$ katastrophe -g
        Traceback (most recent call last):
        File “/usr/local/bin/katastrophe”, line 11, in
        sys.exit(main())
        File “/usr/local/lib/python2.7/dist-packages/katastrophe/katastrophe.py”, line 214, in main
        games_torrent()
        File “/usr/local/lib/python2.7/dist-packages/katastrophe/latest.py”, line 287, in games_torrent
        torrents = fetch()
        File “/usr/local/lib/python2.7/dist-packages/katastrophe/latest.py”, line 93, in fetch
        source_code = requests.get(link)
        File “/home/sugiono/.local/lib/python2.7/site-packages/requests/api.py”, line 71, in get
        return request(‘get’, url, params=params, **kwargs)
        File “/home/sugiono/.local/lib/python2.7/site-packages/requests/api.py”, line 57, in request
        return session.request(method=method, url=url, **kwargs)
        File “/home/sugiono/.local/lib/python2.7/site-packages/requests/sessions.py”, line 475, in request
        resp = self.send(prep, **send_kwargs)
        File “/home/sugiono/.local/lib/python2.7/site-packages/requests/sessions.py”, line 585, in send
        r = adapter.send(request, **kwargs)
        File “/home/sugiono/.local/lib/python2.7/site-packages/requests/adapters.py”, line 477, in send
        raise SSLError(e, request=request)
        requests.exceptions.SSLError: [SSL] unknown error (_ssl.c:590)
        sugiono@sugiono-X455LD:~$

        any idea how to make it work? thanks

        1. For this you must get in touch with the devs :). While we might be able to figure out a workaround or a fix by diving into the code, I don’t maintain or contribute to it. For the benefit of the promising project I think you should contact the devs in the relevant forum.

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s