Make podcast URL's have a lower priority than other URL's. Issue #1897
This commit is contained in:
parent
fe31ca8076
commit
cc0fd50ea2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue