maubot / rss

A RSS plugin for maubot
GNU Affero General Public License v3.0
68 stars 21 forks source link

Feed parse error (extra dot) #45

Closed miguelrdev closed 1 year ago

miguelrdev commented 1 year ago

When subscribing to a feed, the link saved to the database has an extra dot before the TLD.

Example: !rss subscribe https://nitter.privacydev.net/GrapheneOS/rss

Database: sqlite> select * from feed where id=1; 1|https://nitter.privacydev.net/GrapheneOS/rss|GrapheneOS | @grapheneos@infosec.exchange / @GrapheneOS|Twitter feed for: @GrapheneOS. Generated by nitter.privacydev..net|http://nitter.privacydev..net/GrapheneOS|0|0 sqlite>

The correct link should be http://nitter.privacydev.net.

For comparison, it works correctly when subscribing to a feed from nitter.net. Maybe subdomains are an issue?

miguelrdev commented 1 year ago

Appears to be an issue with this particular instance: `

GrapheneOS | @grapheneos@infosec.exchange / @GrapheneOS http://nitter.privacydev..net/GrapheneOS`