File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -824,11 +824,11 @@ async function pageSingleCrawlHandle(
824
824
let notError = true
825
825
try {
826
826
if ( detailTargetConfig . proxyUrl ) {
827
- await browser . createIncognitoBrowserContext ( {
827
+ await browser . createBrowserContext ( {
828
828
proxyServer : detailTargetConfig . proxyUrl
829
829
} )
830
830
} else {
831
- await browser . createIncognitoBrowserContext ( {
831
+ await browser . createBrowserContext ( {
832
832
proxyServer : undefined
833
833
} )
834
834
}
@@ -976,8 +976,8 @@ function dataSingleResultHandle(
976
976
const data = contentType . includes ( 'application/json' )
977
977
? JSON . parse ( detailTargetResult . data . toString ( ) )
978
978
: contentType . includes ( 'text' )
979
- ? detailTargetResult . data . toString ( )
980
- : detailTargetResult . data
979
+ ? detailTargetResult . data . toString ( )
980
+ : detailTargetResult . data
981
981
982
982
result . data = { ...detailTargetResult , data }
983
983
}
You can’t perform that action at this time.
0 commit comments