Update single_url.ts
This commit is contained in:
parent
02fe470e20
commit
64a4338ff0
@ -143,7 +143,7 @@ export async function scrapWithPlaywright(
|
|||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ url: url, wait: waitParam, headers: headers }),
|
body: JSON.stringify({ url: url, wait_after_load: waitParam, headers: headers }),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
Loading…
Reference in New Issue
Block a user