mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Fix KickAssTorrents plugin
This commit is contained in:
parent
24ab195d2f
commit
70a0b3cff3
3 changed files with 6 additions and 5 deletions
|
@ -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 = []
|
||||
|
|
|
@ -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 = []
|
||||
|
|
|
@ -421,6 +421,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…
Reference in a new issue