Use scrapingbee for fool.ca

This commit is contained in:
Jackson Harper 2023-08-30 12:13:52 +08:00
parent 85d5361d89
commit 38a1290b2a

View file

@ -10,7 +10,7 @@ export class ScrapingBeeHandler extends ContentHandler {
shouldPreHandle(url: string): boolean {
const u = new URL(url)
const hostnames = ['nytimes.com', 'news.google.com']
const hostnames = ['nytimes.com', 'news.google.com', 'fool.ca']
return hostnames.some((h) => u.hostname.endsWith(h))
}