nning / transmission-rss

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

Feed URLs are escaped #115

Open reconman opened 3 years ago

reconman commented 3 years ago

Problem

I just started experimenting with this solution so I don't know much. I read through the readme and some past issues and didn't find anything that could help me.

I configured an RSS feed and now nothing happens. Nothing is logged except for the lines below.

And btw, the log file specified below is never used. Everything is only logged to the docker stdout.

Command:

docker run -t \
  --name=transmission-rss \
  --network=mediaNet \
  --env=TZ=Europe/Vienna \
  --restart=always \
  -v /volume1/docker/transmission-rss/transmission-rss.conf:/etc/transmission-rss.conf \
  -d \
  nning2/transmission-rss:latest

Config:

feeds:
  - url: https://nyaa.si/?page=rss&u=DKB0512&q=Yuru%20Camp

server:
  host: transmission
  port: 9091
  tls: false
  rpc_path: /transmission/rpc

log:
  target: ~/transmission-rss/log/transmissiond-rss.log
  level: debug

Log

2021-01-07 23:52:54 (debug) aggregator start
2021-01-07 23:52:54 (debug) aggregate https://nyaa.si/?page=rss&u=DKB0512&q=Yuru%2520Camp
reconman commented 3 years ago

Actually, do you URL escape the URLs? Is %20 turned into %2520 when searching?

Edit: That was it. Putting a + instead of a %20 into the URL fixed it.

But do you really expect users to modify the URLs to get it working? For example, when you search for special characters and then copy paste the feed URL.