mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Further restructuring of the RSS code
This commit is contained in:
parent
a27d2dcac2
commit
2c3f99692d
6 changed files with 620 additions and 446 deletions
|
@ -297,7 +297,7 @@ short RssFeed::readDoc(QIODevice* device) {
|
|||
else
|
||||
torrent_url = item->getLink();
|
||||
// Check if the item should be automatically downloaded
|
||||
FeedFilter * matching_filter = FeedFilters::getFeedFilters(url).matches(item->getTitle());
|
||||
RssFilter * matching_filter = RssFilters::getFeedFilters(url).matches(item->getTitle());
|
||||
if(matching_filter != 0) {
|
||||
// Download the torrent
|
||||
BTSession->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(item->getTitle()).arg(getName()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue