Browse Source

Fix KickAssTorrents plugin

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
1398a39768
  1. 4
      src/searchengine/nova/engines/kickasstorrents.py
  2. 4
      src/searchengine/nova3/engines/kickasstorrents.py
  3. 1
      src/searchengine/searchengine.cpp

4
src/searchengine/nova/engines/kickasstorrents.py

@ -1,4 +1,4 @@ @@ -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): @@ -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 = []

4
src/searchengine/nova3/engines/kickasstorrents.py

@ -1,4 +1,4 @@ @@ -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): @@ -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 = []

1
src/searchengine/searchengine.cpp

@ -407,6 +407,7 @@ void SearchEngine::downloadTorrent(QString engine_url, QString torrent_url) { @@ -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;

Loading…
Cancel
Save