From 4ca5f6f1c5c231853b26026b12fd95b44c6b16e5 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 27 Sep 2011 23:46:06 +0200 Subject: [PATCH] KickAssTorrents --- .../providers/torrent/kickasstorrents/__init__.py | 6 ++++++ .../core/providers/torrent/kickasstorrents/main.py | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 couchpotato/core/providers/torrent/kickasstorrents/__init__.py create mode 100644 couchpotato/core/providers/torrent/kickasstorrents/main.py diff --git a/couchpotato/core/providers/torrent/kickasstorrents/__init__.py b/couchpotato/core/providers/torrent/kickasstorrents/__init__.py new file mode 100644 index 00000000..7daae95f --- /dev/null +++ b/couchpotato/core/providers/torrent/kickasstorrents/__init__.py @@ -0,0 +1,6 @@ +from .main import KickAssTorrents + +def start(): + return KickAssTorrents() + +config = [] diff --git a/couchpotato/core/providers/torrent/kickasstorrents/main.py b/couchpotato/core/providers/torrent/kickasstorrents/main.py new file mode 100644 index 00000000..0c602fee --- /dev/null +++ b/couchpotato/core/providers/torrent/kickasstorrents/main.py @@ -0,0 +1,14 @@ +from couchpotato.core.logger import CPLog +from couchpotato.core.providers.torrent.base import TorrentProvider + +log = CPLog(__name__) + + +class KickAssTorrents(TorrentProvider): + + urls = { + 'download': 'http://torrents.thepiratebay.org/%s/%s.torrent', + 'detail': 'http://www.kat.ph/%s-t%s.html', + 'search': 'http://www.kat.ph/%s-i%s/', + } +