quakkels / rssdiscoveryengine

The RSS Discovery Engine exists to encourage people to use RSS for finding and consuming their news and current events.
MIT License
159 stars 9 forks source link

Handle relative RSS URLs correctly #21

Closed quakkels closed 3 years ago

quakkels commented 3 years ago

Blogs that have a relative URL for their RSS/Atom feeds are not being followed correctly. Take, for example, a blog with the url https://blog.example.com. Then if that blog's RSS feed is relative, such as feed/rss then RSS Discovery Engine does not look for the feed at https://blog.example.com/feed/rss like it should.

The simplest fix is probably to not re-invent urllib's urljoin.

quakkels commented 3 years ago

Fixed by #22