nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Likes RSS feed generates empty

Open rotorot0 opened this issue 1 year ago • 0 comments

Whenever I try to generate RSS feeds for the likes tab, they always come up completely empty. image

After investigating, turns out that the tweet.user.id parameter in src/views/rss.nimf in line 64 is completely empty, causing the check to fail and exit the if statement.

Changing it to this fixes the issue

#    if tweet.user.id == "":
#      if userId.len > 0 and tweet.user.id == userId: continue
#        end if
#    elif userId.len > 0 and tweet.user.id != userId: continue

image

Here's the commit in my own repo https://github.com/rotorot0/nitter/commit/2969af1f1b226a8dd0e2cc05a9f87ba6406dde9b

RSS feed generation works normally for all other tabs too.

Any ideas to have an actual fix for this or is this good enough?

rotorot0 avatar Apr 20 '24 20:04 rotorot0