mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Filter out any recommended feeds that might be json
This commit is contained in:
parent
7e32c9f551
commit
63326e1f92
@ -315,7 +315,7 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
|
||||
|
||||
switch result {
|
||||
case .success(let feedSpecifiers):
|
||||
let feedSpecifiers = feedSpecifiers.filter { !$0.urlString.hasSuffix(".json") }
|
||||
let feedSpecifiers = feedSpecifiers.filter { !$0.urlString.contains("json") }
|
||||
guard let bestFeedSpecifier = FeedSpecifier.bestFeed(in: feedSpecifiers) else {
|
||||
completion(.failure(AccountError.createErrorNotFound))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user