nning / transmission-rss

Adds torrents from RSS feeds to Transmission web frontend
GNU General Public License v3.0
450 stars 47 forks source link

userinfo not supported #81

Open cuteboi opened 5 years ago

cuteboi commented 5 years ago

Is there an alternative to the userinfo? Maybe a username and password file to specify?

nning commented 5 years ago

What do you mean by userinfo? Why do you need an extra file for username and password? Did you see the user section in the config file?

cuteboi commented 5 years ago

I mean the username/password to use for authenticating with an rss feed/website, specifically:

2019-03-04 07:39:08 (info) transmission-rss 1.1.0.pre,
2019-03-04 07:39:08 (debug) {"feeds"=>[{"url"=>"https://USERNAME:PASSWORD@themixingbowl.org/rssddl.xml"}], "update_interval"=>2400, "add_paused"=>false, "server"=>{"host"=>"192.168.0.100", "port"=>9092, "rpc_path"=>"/transmission/rpc"}, "login"=>nil, "log"=>{"target"=>#<IO:<STDERR>>, "level"=>:debug}, "fork"=>false, "pid_file"=>false, "privileges"=>{}, "seen_file"=>nil},
2019-03-04 07:39:08 (debug) no privilege dropping,
2019-03-04 07:39:08 (debug) 0 uris from seenfile,
2019-03-04 07:39:08 (debug) pid 6,
2019-03-04 07:39:08 (debug) aggregator start,
2019-03-04 07:39:08 (debug) aggregate https://USERNAME:PASSWORD@themixingbowl.org/rssddl.xml,
2019-03-04 07:39:08 (debug) retrieval error (ArgumentError: userinfo not supported.  [RFC3986]),

Full output, obfuscated user/pass

cuteboi commented 5 years ago

Is there more information required?

kyleinprogress commented 5 years ago

That's not an issue with this. All this project does is read a valid RSS feed and grab the torrent info. The issue you posted is getting a valid RSS feed. You'll need to read the documentation at that site to see how to get a valid RSS feed for your username/password.

nning commented 5 years ago

I think it actually is an issue with transmission-rss as it seems, currently URLs with userinfo are not supported. I would like to fix this but I do not know, when I will have time for this.