mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 18:10:46 +08:00
fix 2
This commit is contained in:
parent
e2ddc6c65c
commit
b1eaecfdb0
@ -233,7 +233,7 @@ export class WebCrawler {
|
||||
let href = $(element).attr("href");
|
||||
if (href) {
|
||||
if (href.match(/^https?:\/[^\/]/)) {
|
||||
href = href.replace(/^https?:\/[^\/]/, "$&/");
|
||||
href = href.replace(/^https?:\//, "$&/");
|
||||
}
|
||||
const u = this.filterURL(href, url);
|
||||
if (u !== null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user