Normalize the URL if it was found in the HTML metadata.

This commit is contained in:
Maurice Parker 2020-03-13 12:11:38 -05:00
parent b31c18a721
commit 229aada857
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class HTMLFeedFinder {
let metadata = RSHTMLMetadataParser.htmlMetadata(with: parserData)
for oneFeedLink in metadata.feedLinks {
if let oneURLString = oneFeedLink.urlString {
if let oneURLString = oneFeedLink.urlString?.normalizedURL {
let oneFeedSpecifier = FeedSpecifier(title: oneFeedLink.title, urlString: oneURLString, source: .HTMLHead)
addFeedSpecifier(oneFeedSpecifier)
}