mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
[RSS] Improve error handling when a RSS feed doesn't contain torrents
This commit is contained in:
@@ -352,6 +352,8 @@ void RSSImp::downloadSelectedTorrents()
|
||||
RssArticlePtr article = feed->getItem(item->data(Article::IdRole).toString());
|
||||
if (!article) continue;
|
||||
|
||||
if (article->torrentUrl().isEmpty())
|
||||
continue;
|
||||
QString torrentLink = article->torrentUrl();
|
||||
// Check if it is a magnet link
|
||||
if (torrentLink.startsWith("magnet:", Qt::CaseInsensitive)) {
|
||||
|
||||
Reference in New Issue
Block a user