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

feat(): ignore subsequent match for X days #63

Open
davinkevin opened this issue Apr 1, 2018 · 7 comments
Open

feat(): ignore subsequent match for X days #63

davinkevin opened this issue Apr 1, 2018 · 7 comments

Comments

@davinkevin
Copy link

Hi,

First of all, thanks for your application which is very useful for a lot of people 👏

I would like to know if this would be possible to support a parameter in the config file which will avoid downloading multiple files from the same match. This is an options present on uTorrent and qBittorrent. This is known in qBitorrent as ignore subsequent match for X days

image

This allows downloading only the first match for each pattern on a feed.

Thanks

@nning
Copy link
Owner

nning commented Apr 2, 2018

Thanks for reaching out!

This feature was also similarily requested in #29, I think.

It should be possible to implement this and I will look at this when I have some spare time.

@davinkevin
Copy link
Author

Don't seem to be similar to #29 from my point of view...

In my case, I don't know what will be the first match and subsequent matches... I just want to avoid downloading some matching element during N days...

@GnaXi
Copy link

GnaXi commented May 9, 2020

DId you ever come closer to looking into this feature? :)

@davinkevin
Copy link
Author

Nop, I change my way of doing.

I disable automatic download and I choose manually which one I want to download or not. This is less automatic but it helps me to choose and avoid multiple useless downloads

@workingmanrob
Copy link

workingmanrob commented Nov 13, 2023

I would like to upvote this feature request. Something ruTorrent has let me do for years.

image

This is not related to any exclude filter or well maybe it is but I would think it's more of a seen file feature.

As an example I would like to download Star Trek Strange New Worlds in 1080p and have a regex to do that.

This becomes a problem when you're using an RSS feed from a site that just includes all the TV shows in one feed. 5 different people post the show and you download it 5x.

I'd like to be able to tell the system after the first match don't add another torrent for a week.

Make sense?

Thanks in advance!

@workingmanrob
Copy link

Another idea occurs to me.. separate blocks for each TV show using the same feed but disable the feed update for X days after the first match.

Something like this maybe?

  - url: https://supersite.com/new-HD-TV-rss.php
    refresh_after_match: 7d
    regexp:
      - matcher: (?=.*\bshow\b)(?=.*\bwe\b)(?=.*\bwant\b)(?=.*\b1080p\b)

Now while writing this I figured out you would need to keep the feed updating so your seen file picks up all the new torrents you don't want.. Maybe this would make the magic happen...?

# master feed to keep seen file fresh
  - url: https://supersite.com/new-HD-TV-rss.php

# grab show we want in 1080p weekly
  - url: https://supersite.com/new-HD-TV-rss.php
    refresh_after_match: 7d
    regexp:
      - matcher: (?=.*\bshow\b)(?=.*\bwe\b)(?=.*\bwant\b)(?=.*\b1080p\b)

# grab another show we want in 720p weekly
  - url: https://supersite.com/new-HD-TV-rss.php
    refresh_after_match: 7d
    regexp:
      - matcher: (?=.*\banother\b)(?=.*\bshow\b)(?=.*\bwe\b)(?=.*\bwant\b)(?=.*\b720p\b)

Hopefully that helps 🍻

@workingmanrob
Copy link

For now I have employed what @davinkevin is doing and do not automatically start the download but this is exactly what we are trying to avoid.

image

I would like the first one available to start downloading then the other 2 should not even be added.

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

No branches or pull requests

4 participants