Add additional file extensions to crawler.ts
Add additional file extensions.
This commit is contained in:
parent
fb08f28edf
commit
a5d38039f2
@ -267,6 +267,13 @@ export class WebCrawler {
|
|||||||
".docx",
|
".docx",
|
||||||
".xlsx",
|
".xlsx",
|
||||||
".xml",
|
".xml",
|
||||||
|
".pptx",
|
||||||
|
".avi",
|
||||||
|
".flv",
|
||||||
|
".woff",
|
||||||
|
".ttf",
|
||||||
|
".woff2",
|
||||||
|
".webp",
|
||||||
];
|
];
|
||||||
return fileExtensions.some((ext) => url.endsWith(ext));
|
return fileExtensions.some((ext) => url.endsWith(ext));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user