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