|
|
|
@ -296,7 +296,7 @@ void RssFeed::downloadMatchingArticleTorrents() {
@@ -296,7 +296,7 @@ void RssFeed::downloadMatchingArticleTorrents() {
|
|
|
|
|
QString torrent_url = article->hasAttachment() ? article->torrentUrl() : article->link(); |
|
|
|
|
QBtSession::instance()->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(article->title()).arg(displayName())); |
|
|
|
|
if (torrent_url.startsWith("magnet:", Qt::CaseInsensitive)) |
|
|
|
|
QBtSession::instance()->addMagnetSkipAddDlg(torrent_url, matching_rule.savePath(), matching_rule.label()); |
|
|
|
|
QBtSession::instance()->addMagnetSkipAddDlg(torrent_url, matching_rule->savePath(), matching_rule->label()); |
|
|
|
|
else |
|
|
|
|
QBtSession::instance()->downloadUrlAndSkipDialog(torrent_url, matching_rule->savePath(), matching_rule->label()); |
|
|
|
|
} |
|
|
|
|