mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-10 19:18:58 +08:00
Nick: removed 401
This commit is contained in:
parent
93657f6a44
commit
25dd16bf2a
@ -425,7 +425,7 @@ export async function scrapSingleUrl(
|
||||
Logger.debug(`⛏️ ${scraper}: Successfully scraped ${urlToScrap} with text length >= 100 or screenshot, breaking`);
|
||||
break;
|
||||
}
|
||||
if (pageStatusCode && (pageStatusCode == 404 || pageStatusCode == 400 || pageStatusCode == 401)) {
|
||||
if (pageStatusCode && (pageStatusCode == 404 || pageStatusCode == 400)) {
|
||||
Logger.debug(`⛏️ ${scraper}: Successfully scraped ${urlToScrap} with status code ${pageStatusCode}, breaking`);
|
||||
break;
|
||||
}
|
||||
|
@ -28,3 +28,4 @@ redis-server $PW_ARG \
|
||||
--maxmemory-policy $MAXMEMORY_POLICY \
|
||||
--appendonly $APPENDONLY \
|
||||
--save "$SAVE"
|
||||
--save "$SAVE" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user