Merge pull request #3494 from omnivore-app/fix/rss-more-content-fetch-blocks

Add rss.arxiv and daringfireball to content fetch block lists
This commit is contained in:
Jackson Harper
2024-02-03 10:57:04 +08:00
committed by GitHub

View File

@ -126,6 +126,15 @@ export const isContentFetchBlocked = (feedUrl: string) => {
if (feedUrl.startsWith('https://arxiv.org/')) {
return true
}
if (feedUrl.startsWith('https://rss.arxiv.org')) {
return true
}
if (feedUrl.startsWith('https://xkcd.com')) {
return true
}
if (feedUrl.startsWith('https://daringfireball.net/feeds/')) {
return true
}
if (feedUrl.startsWith('https://lwn.net/headlines/newrss')) {
return true
}
@ -517,6 +526,9 @@ const processSubscription = async (
// Max limit per-feed update
if (itemCount > 99) {
if (itemCount == 100) {
logger.info(`Max limit reached for feed ${feedUrl}`)
}
continue
}