From 1398a397689a4055e7cbfedca50d045a6913f42b Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 20 May 2012 17:27:16 +0300 Subject: [PATCH] Fix KickAssTorrents plugin --- src/searchengine/nova/engines/kickasstorrents.py | 4 ++-- src/searchengine/nova3/engines/kickasstorrents.py | 4 ++-- src/searchengine/searchengine.cpp | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/searchengine/nova/engines/kickasstorrents.py b/src/searchengine/nova/engines/kickasstorrents.py index 9ceafaf59..0804f6f81 100755 --- a/src/searchengine/nova/engines/kickasstorrents.py +++ b/src/searchengine/nova/engines/kickasstorrents.py @@ -1,4 +1,4 @@ -#VERSION: 1.21 +#VERSION: 1.22 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ class kickasstorrents(object): self.results = [] def download_torrent(self, info): - print download_file(info) + print download_file(info, info) def search(self, what, cat='all'): ret = [] diff --git a/src/searchengine/nova3/engines/kickasstorrents.py b/src/searchengine/nova3/engines/kickasstorrents.py index 63e81d32d..3a8dd53a3 100755 --- a/src/searchengine/nova3/engines/kickasstorrents.py +++ b/src/searchengine/nova3/engines/kickasstorrents.py @@ -1,4 +1,4 @@ -#VERSION: 1.21 +#VERSION: 1.22 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ class kickasstorrents(object): self.results = [] def download_torrent(self, info): - print(download_file(info)) + print(download_file(info, info)) def search(self, what, cat='all'): ret = [] diff --git a/src/searchengine/searchengine.cpp b/src/searchengine/searchengine.cpp index 0ffb0d96c..6a14cc6d2 100644 --- a/src/searchengine/searchengine.cpp +++ b/src/searchengine/searchengine.cpp @@ -407,6 +407,7 @@ void SearchEngine::downloadTorrent(QString engine_url, QString torrent_url) { qDebug("Converting bc link to magnet link"); torrent_url = misc::bcLinkToMagnet(torrent_url); } + qDebug() << Q_FUNC_INFO << torrent_url; if (torrent_url.startsWith("magnet:")) { QStringList urls; urls << torrent_url;