mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add revue.email to the revue newsletter attribute selectors
This commit is contained in:
parent
345c020dea
commit
65f28fe708
1 changed files with 4 additions and 1 deletions
|
|
@ -444,7 +444,10 @@ export const isProbablyNewsletter = async (html: string): Promise<boolean> => {
|
|||
}
|
||||
|
||||
// Check if this is a newsletter from revue
|
||||
if (dom.querySelectorAll('img[src*="getrevue.co"]').length > 0) {
|
||||
if (
|
||||
dom.querySelectorAll('img[src*="getrevue.co"], img[src*="revue.email"]')
|
||||
.length > 0
|
||||
) {
|
||||
const getrevueUrl = revueNewsletterHref(dom)
|
||||
if (getrevueUrl) {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in a new issue