Update single_url.ts
This commit is contained in:
parent
e1af815f8c
commit
16aac7f8c5
|
@ -443,8 +443,10 @@ export async function scrapSingleUrl(
|
|||
if (attempt.pageStatusCode) {
|
||||
pageStatusCode = attempt.pageStatusCode;
|
||||
}
|
||||
if (attempt.pageError) {
|
||||
if (attempt.pageError && attempt.pageStatusCode != 200) {
|
||||
pageError = attempt.pageError;
|
||||
} else {
|
||||
pageError = undefined;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue