Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow multiple feeds sharing the same URL #67

Closed
hypevhs opened this issue Apr 26, 2018 · 1 comment
Closed

Disallow multiple feeds sharing the same URL #67

hypevhs opened this issue Apr 26, 2018 · 1 comment

Comments

@hypevhs
Copy link

hypevhs commented Apr 26, 2018

transmission-rss -v == 0.2.6

In my config, I thought I could do

- url: http://bigfeed
  regexp: something AAAA
  download_path: /somepath/AAAA
- url: http://bigfeed
  regexp: something BBBB
  download_path: /somepath/BBBB

but a lot of items would be left undownloaded and ignored. I am guessing that this is because one feed runs and adds everything to the seenfile, so the other sees nothing new. The same feed URL is also downloaded twice per update interval (despite them being)/(since they are) identical.

I now know that the correct way is

- url: http://bigfeed
  regexp:
    - matcher: something AAAA
      download_path: /somepath/AAAA
    - matcher: something BBBB
      download_path: /somepath/BBBB

But a warning would have helped me track down the issue. Maybe the config file parser could transform the first example into the second example.

@nning nning closed this as completed in 7c898df Jun 16, 2018
@nning
Copy link
Owner

nning commented Jun 16, 2018

I implemented a warning if duplicate urls are configured. Thank you very much for your suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants