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

Tweets matching two feeds, one with whitelist and one without, are posted to neither. #158

Open
dziban303 opened this issue Aug 21, 2023 · 0 comments

Comments

@dziban303
Copy link
Contributor

Since it seems nitter.net has gotten the RSS back up and running (for now!), I got a bunch of tweets posted in my Discord server today. From reading the issues on nitter's repo, I knew it was nearly ready, and in preparation I added a new feed. It does not seem to have worked, though other feeds did, and I'm trying to troubleshoot.

I have one feed set as a 'catch-all' to post all tweets and replies from NHC_Atlantic to one webhook, and another feed set for tweets and replies from NHC_Atlantic with Franklin whitelisted going to a different webhook.

The following tweet should have matched both, but instead it matches neither. Since other tweets from NHC_Atlantic went through, I guess it's something with the second feed with whitelist causing both feeds to fail?

Log using blockquote instead of codeblock as it's all on one line, this should be easier to read:

2023-08-21 at 14:51:50 INFO Webhook posted for https://nitter.lovinator.space/NHC_Atlantic/status/1693634581017026628#m
2023-08-21 at 14:51:50 INFO Skipping entry Entry(id='https://nitter.lovinator.space/NHC_Atlantic/status/1693634581017026628#m', updated=None, title='Tropical Storm #Franklin Advisory 4: Franklin Slowing Down Over the Caribbean Sea. Heavy Rainfall Expected For Puerto Rico and Hispaniola. http://hurricanes.gov', link='https://nitter.lovinator.space/NHC_Atlantic/status/1693634581017026628#m', author='@NHC_Atlantic', published=datetime.datetime(2023, 8, 21, 14, 42, 4, tzinfo=datetime.timezone.utc), summary='

Tropical Storm #Franklin Advisory 4: Franklin Slowing Down Over the Caribbean Sea. Heavy Rainfall Expected For Puerto Rico and Hispaniola. hurricanes.gov

', content=(), enclosures=(), read=False, read_modified=None, important=None, important_modified=None, added=datetime.datetime(2023, 8, 21, 14, 51, 45, 465354, tzinfo=datetime.timezone.utc), added_by='feed', last_updated=datetime.datetime(2023, 8, 21, 14, 51, 45, 465354, tzinfo=datetime.timezone.utc), original_feed_url='https://nitter.lovinator.space/NHC_Atlantic/rss', feed=Feed(url='https://nitter.lovinator.space/NHC_Atlantic/rss', updated=None, title='National Hurricane Center / @NHC_Atlantic', link='https://nitter.lovinator.space/NHC_Atlantic', author=None, subtitle='Twitter feed for: @NHC_Atlantic. Generated by nitter.lovinator.space', version='rss20', user_title=None, added=datetime.datetime(2023, 7, 19, 17, 19, 0, 70563, tzinfo=datetime.timezone.utc), last_updated=datetime.datetime(2023, 8, 21, 14, 51, 45, 465354, tzinfo=datetime.timezone.utc), last_exception=None, updates_enabled=True)) as it is not whitelisted

The 'Skipping entry' line is repeated again exactly, suggesting it was compared to both feeds.


Reality check, here's a screenshot of my 'catch-all' feed:

image

and the feed with 'Franklin' whitelisted:

image

They are identical with the exception of the webhook address, and one has a whitelist item while the other does not.

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

1 participant