Fixed issue where a feed: url in the body of a page wouldn't be retrieved via http. Issue #386

This commit is contained in:
Maurice Parker 2018-09-06 20:37:47 -05:00
parent a062759126
commit 75e9ceb3e4
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ class HTMLFeedFinder {
for oneBodyLink in bodyLinks {
if linkMightBeFeed(oneBodyLink) {
let oneFeedSpecifier = FeedSpecifier(title: oneBodyLink.text, urlString: oneBodyLink.urlString!, source: .HTMLLink)
let normalizedURL = oneBodyLink.urlString.rs_normalizedURL()
let oneFeedSpecifier = FeedSpecifier(title: oneBodyLink.text, urlString: normalizedURL, source: .HTMLLink)
addFeedSpecifier(oneFeedSpecifier)
}
}