Normalize the URL if it was found in the HTML metadata. Issue #1896

This commit is contained in:
Maurice Parker 2020-03-13 12:15:35 -05:00
parent 73e7fb40ed
commit fe31ca8076
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)
}