Skip to content

empty-diff: false doesn't seem to work, still getting empty reports #853

Description

@astyagun

I'm subscribed to an RSS feed:

---
name: ...
url: ...
user_visible_url: ...
max_tries: 5
filter:
  - css:
      selector: 'item > title'
      method: xml
  - html2text
kind: url # Required when `display: {empty-diff: false}`
display:
  empty-diff: false # Don't show any notification when `diff_filter` below results in an empty diff
diff_filter:
  - grep: '^[+]'      # Include all lines starting with "+"
  - grepi: '^[+]{3}'  # Exclude the line starting with "+++"

I want to see notifications only when new items appear in the RSS feed (this works) and don't care about items disappearing from it. But empty-diff: false doesn't seem to work, as I do get notifications like these in Telegram:

=======================================
01. CHANGED: ...
=======================================

---------------------------------------
CHANGED: ... ( ... )
---------------------------------------

---------------------------------------

Is there a way to make it work? Or is this a bug?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions