mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #2702 from omnivore-app/fix/content-fetch-fool-ca
Use scrapingbee for fool.ca
This commit is contained in:
commit
77d4d14573
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue