Make podcast URL's have a lower priority than other URL's. Issue #1897

This commit is contained in:
Maurice Parker 2020-03-13 12:57:43 -05:00
parent fe31ca8076
commit cc0fd50ea2
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ private extension FeedSpecifier {
if urlString.caseInsensitiveContains("comments") { if urlString.caseInsensitiveContains("comments") {
score = score - 10 score = score - 10
} }
if urlString.caseInsensitiveContains("podcast") {
score = score - 10
}
if urlString.caseInsensitiveContains("rss") { if urlString.caseInsensitiveContains("rss") {
score = score + 5 score = score + 5
} }