How to enter multiple RSS feeds?

Linux specific questions, problems.
Post Reply
Engenia
Newbie
Newbie
Posts: 5
Joined: Fri Apr 21, 2023 7:17 am

How to enter multiple RSS feeds?

Post by Engenia »

I have many feeds to enter into a new qBittorrent v4.3.9 install. The RSS Rules can be easily imported as a json but I haven't found a way to import the RSS Feeds.

Rather than laboriously enter one at a time via the GUI, is there a way to add them with an editor modifying a file in Ubuntu 20.04?
User avatar
Peter
Administrator
Administrator
Posts: 2753
Joined: Wed Jul 07, 2010 6:14 pm

Re: How to enter multiple RSS feeds?

Post by Peter »

Go into "%APPDATA%\rss" (or find the same folder in your distro) and feeds.json file.

From what I gather, each entry has a UID, but the code will generate a UID if its missing from the file. (rss_session.cpp)
(Uuid is generated through Qt's QUuid class - https://doc.qt.io/qt-6/quuid.html#createUuid)

So you could simply just fill up the feeds.json with Python (Python also has Qt bindings.)
Engenia
Newbie
Newbie
Posts: 5
Joined: Fri Apr 21, 2023 7:17 am

Re: How to enter multiple RSS feeds?

Post by Engenia »

Thankyou so much!
Found feeds.json in HOME/.config/qBittorrent
This will save me hours
cornybroom

Re: How to enter multiple RSS feeds?

Post by cornybroom »

To maximize the utility of your bundles, combine pertinent sources. Now ymini crosswordou can filter your bundle to obtain the most tailored feed. Copy the JS or iFrame code fragment and paste it into your HTML website or blog in order to incorporate your compilation.
Engenia
Newbie
Newbie
Posts: 5
Joined: Fri Apr 21, 2023 7:17 am

Re: How to enter multiple RSS feeds?

Post by Engenia »

@clentjohn
I can't find an rss.xml file in ~/.config/qBittorrent
~/.config/qBittorrent$ ls
qBittorrent.conf qBittorrent-data.conf rss watched_folders.json
~/.config/qBittorrent$ cd rss
~/.config/qBittorrent/rss$ ls
download_rules.json feeds.json storage.lock
Engenia
Newbie
Newbie
Posts: 5
Joined: Fri Apr 21, 2023 7:17 am

Re: How to enter multiple RSS feeds?

Post by Engenia »

Thanks @clentjohn
I'm using v4.3.9 & can't see the option to "import from file" in "New Subscription"
I see that the latest is 4.6.0. I assume I'll find it there?
Engenia
Newbie
Newbie
Posts: 5
Joined: Fri Apr 21, 2023 7:17 am

Re: How to enter multiple RSS feeds?

Post by Engenia »

On opening qBittorrent.conf I found no evidence of rss feeds even though they are running currently. Those feeds are found in
~/.config/qBittorrent/rss/feeds.json
It looks like
{
"feed_name": {
"uid": "{c5b02851-319f-475c-b074-ea7140e66c8d}",
"url": "https://the.feed.url"
}
}
the url I can deal with, but where do I get the uid from?
I tried leaving that line out as Peter suggested back in April, hoping for the code to generate it, but it didn't.
Post Reply