FEATURE: Added support for BitComet links (bc://bt/...)

This commit is contained in:
Christophe Dumez
2010-07-22 22:19:42 +00:00
parent 7a2c0d5d5a
commit 3d4c1fe7da
9 changed files with 43 additions and 3 deletions

View File

@@ -403,6 +403,10 @@ void SearchEngine::saveResultsColumnsWidth() {
}
void SearchEngine::downloadTorrent(QString engine_url, QString torrent_url) {
if(torrent_url.startsWith("bc://bt/", Qt::CaseInsensitive)) {
qDebug("Converting bc link to magnet link");
torrent_url = misc::bcLinkToMagnet(torrent_url);
}
if(torrent_url.startsWith("magnet:")) {
QStringList urls;
urls << torrent_url;