Change the milkroad newsletters parser according to the change of milkroad newsletter

This commit is contained in:
Hongbo Wu 2022-10-08 09:37:12 +08:00
parent 7adf8a8fd8
commit 8f048dd15e

View file

@ -8,7 +8,7 @@ export class BeehiivHandler extends ContentHandler {
}
findNewsletterHeaderHref(dom: Document): string | undefined {
const readOnline = dom.querySelectorAll('table tr td div a[class*="link"]')
const readOnline = dom.querySelectorAll('table tr td div a')
let res: string | undefined = undefined
readOnline.forEach((e) => {
if (e.textContent === 'Read Online') {