RSS Integration
FatRat can watch RSS feeds and add transfers by itself when a new item matches one of your rules. Typical uses are new episodes of a TV show, a podcast, or releases on a torrent site that publishes a feed.
Two things make it work:
- A feed is a name and the URL of an RSS feed.
- A rule says which items of a feed to download, into which queue, and where to save them.
A feed without a rule downloads nothing. A rule can also keep track of episode numbers, so that the same episode isn't downloaded twice.
Where to manage feeds and rules
All three front ends manage the same feeds and rules, and they can be open at the same time.
- Desktop: open Settings and choose the RSS page. It has three tabs: General, RSS feeds and Regular expressions (the rules). Changes are saved when you click OK or Apply.
- Web interface: open Settings and choose RSS. The page lists Feeds and Rules. Feeds and rules are saved as soon as you save their dialog, even if you later click Cancel in Settings. The two general options are saved with OK.
- Terminal: press
2to open the RSS tab. It has a Feeds pane and a Download rules pane; Tab switches between them. Changes are saved at once. The two general options are in the settings (O), on the RSS page.
The rule dialog needs at least one feed and one queue. On the desktop it does not open without them. The web interface and the terminal tell you to add a feed first.
Turning it on
These two options are on the General tab on the desktop, and on the RSS page of the web and terminal settings:
- Automatically download new stuff from RSS feeds
- Turns the automatic checking on or off. The web interface calls it Enable RSS feed fetching and the terminal Check the feeds. It is on by default.
- Update interval
- How often, in minutes, FatRat fetches all feeds. The default is 15. On the desktop you can set 1 to 1000 minutes.
When checking is turned on, FatRat fetches the feeds right away, and then every interval.
To fetch the feeds now, use Update (desktop), Update now (web interface) or R on the RSS tab (terminal). This works even when automatic checking is off. On the desktop, Update first saves the feeds and rules in the dialog, so a feed you just added is fetched too. They stay saved even if you later click Cancel.
Feeds
To add a feed, click Add on the RSS feeds tab (desktop), Add feed... (web interface) or press N on the feeds pane (terminal). Enter these two fields:
- Name
- Any name. It is shown in the lists.
- URL
- The address of the feed.

FatRat reads the title, description and link of each item. If an item has an enclosure, the enclosure's URL is used as the link. If it has a magnetURI element, the magnet link is preferred.
If you change a feed's URL, the rules of that feed follow it. If you delete a feed, its rules are deleted too (the terminal says so before it deletes). A feed that can't be fetched or read is reported in the Log as Failed to fetch the feed or Failed to parse the feed.
Rules
To add a rule, click Add on the Regular expressions tab (desktop), Add rule... (web interface) or press N on the rules pane (terminal). The fields of the rule are these.
| Field | What it does |
|---|---|
| Feed (desktop: RSS feed) | The feed the rule applies to. A rule only looks at items of this feed. |
| Regular expression (desktop and terminal: Expression) | Matched against the title of each item. It ignores case, and it is enough that part of the title matches. Leave it empty to match every item. |
| Queue (desktop: Destination queue) | The queue the new transfers are added to. |
| Target directory (desktop: Destination directory, terminal: Save to) | Where the files are saved. It starts as the default directory of the chosen queue, and follows the queue as you change it until you edit it yourself. FatRat creates the directory if it doesn't exist. |
| Add paused (web interface: Add the transfers paused) | Adds the transfers paused instead of waiting to start. |
Each rule has a way to test the expression. On the desktop, type a title under Expression test on the Main tab; a tick or a cross shows whether it matches. In the web interface, use Try it on a title; for a rule that tracks episodes it also shows the episode FatRat finds. In the terminal, press T on the rules pane.
All the items that match are added, and an item can match more than one rule. A rule's expression is a regular expression; for example ^Some Show .* 720p matches titles that start with Some Show and contain 720p.
The transfer comment is set to the item's description.
Link parsing
By default a rule downloads the item's main link, which is the magnet link if the feed gives one, otherwise the enclosure or link. Some feeds put the real download links in the description instead. Then choose the link parsing option and enter a regular expression that matches the links. The desktop options are No parsing, use the main link and Extract links matched by the following regexp on the Link parsing tab. In the web interface they are on the Link parsing tab as Use the item's main link and Extract links from the item's description. In the terminal, fill in Link regexp.
FatRat searches the description for every match and adds a transfer for each one. An example expression is http://www.server.com/\S+.
A transfer is added only if one of FatRat's transfer types accepts the link. Otherwise the Log shows The transfer wasn't accepted by any class with the item title and link. Every transfer that FatRat adds this way is logged as Automatically adding a new transfer.
TV shows and podcasts
A feed can show the same episode several times, for example in different sizes, as a repack, or on several days. To download each episode once, set the rule's numbering. On the desktop this is the TV show/podcast support tab, and in the web interface the TV show/podcast tab. In the terminal it is the Episodes field.
FatRat reads an episode number out of the item title and remembers it for the rule. An item whose episode was already downloaded is skipped. An item in which FatRat can't find a number is skipped as well.
Numbering
- Not a TV serie or podcast
- No episode tracking. This is the default. The web interface says Not a TV show or podcast, and the terminal Not tracked.
- Season based
- The title has the season and the episode, as
S01E12or1x12. The episode is saved asS01E12. - Episode based
- The show has no seasons. FatRat uses the first whole number found in the title as the episode number, and saves it with four digits, for example
0123. Take care with titles that contain another number before the episode, such as a year. Use the test to see what FatRat finds. - Date based
- The title has a date, as for a daily show. The date is saved as
2008-04-28. FatRat understands2008-04-28,28-04-2008,04.28.08and28 Apr 2008(with a hyphen, dot or space between the parts, and a month name in English, short or long). It does not read dates written with slashes, such as4/28/08. When it isn't clear which number is the month and which the day, FatRat guesses by comparing them with the current and the previous month.
Range
The From and To fields limit the episodes the rule downloads. Episodes before From or after To are skipped. The fields start as the widest range: S00E00 to S99E99 for season based, 0000 to 9999 for episode based, and 0000-00-00 to 9999-99-99 for date based. To start with a certain episode, enter it in From, written the way FatRat saves it, as above. The web interface labels the fields Download from episode and to episode, and the terminal From episode and To episode.
Repacks and trailers
- Download repacks (web interface: Download repacks and propers, terminal: Include repacks)
- An item with
repackorproperin its title counts as a separate release of the episode. If this is on, FatRat downloads it even though it already has the plain episode. If it is off, such an item is treated as the plain episode: it is downloaded only if you don't have that episode yet. This is on by default for a new rule in all three front ends. - Download trailers/teasers (web interface: Download trailers and teasers, terminal: Include trailers)
- An item with
trailerorteaserin its title is skipped unless this is on. If it is on, it is tracked separately from the real episode. It is off by default. - Exclude episodes downloaded manually (terminal: Exclude manual)
- When you add a BitTorrent transfer yourself from a
.torrentfile, and its name matches the rule's expression and holds an episode number, FatRat marks that episode as downloaded. It is then not downloaded again from the feed. This is on by default for a new rule in all three front ends.
List of downloaded episodes
Each tracking rule keeps a list of the episodes it has downloaded. You can look at it, add an episode so that it is never downloaded, or remove one to download it again the next time it shows up in the feed.
- Desktop: click Manage the list of downloaded episodes on the TV show/podcast support tab. The dialog is called List of downloaded episodes.
- Web interface: click Manage the list of downloaded episodes... on the TV show/podcast tab. It is available for a saved rule only.
- Terminal: press
Won the rules pane. Entries are separated by spaces.
An entry looks like the saved episode, for example S01E12. A repack, a proper or a trailer has a suffix such as S01E12|repack, S01E12|proper or 0123|trailer.
How duplicates are avoided
FatRat remembers the address of every item that it has seen in the feeds. After each check, the item is on that list, whether it matched a rule or not. So an item is looked at by the rules once only, and a rule you create later doesn't download the items that were already in the feed. If a feed can't be fetched or read during a check, FatRat keeps the earlier list as well.
Episode tracking works on top of that. The same episode can arrive as a different item, with another address, and the list of downloaded episodes stops it from being downloaded again.
See also
- Transfers and Queues, for the queues the rules download into.
- BitTorrent.