File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,20 @@ For Python see [Scrapfly Python SDK](https://github.com/scrapfly/python-scrapfly
4949To enable debug logs set Scrapfly's log level to ` "DEBUG" ` :
5050
5151``` javascript
52+ import { log } from ' scrapfly-sdk' ;
53+
5254log .setLevel (' DEBUG' );
5355```
5456
5557Additionally, set ` debug=true ` in ` ScrapeConfig ` to access debug information in [ Scrapfly web dashboard] ( https://scrapfly.io/dashboard ) :
5658
5759``` typescript
60+ import { ScrapflyClient } from ' scrapfly-sdk' ;
61+
5862new ScrapeConfig ({
5963 url: ' https://web-scraping.dev/product/1' ,
6064 debug: true ,
61- // ^ enable debug information
65+ // ^ enable debug information - this will show extra details on web dashboard
6266});
6367```
6468
Original file line number Diff line number Diff line change 2121 " build/src"
2222 ],
2323 "engines" : {
24- "node" : " >= 18.12 <19"
24+ "node" : " >= 18 <19"
2525 },
2626 "devDependencies" : {
2727 "@types/node" : " ~18" ,
Original file line number Diff line number Diff line change 44 "target" : " es2022" ,
55 "types" : [" node" , " jest" ],
66 "skipLibCheck" : true ,
7- "module" : " node16 " ,
7+ "module" : " ESNext " ,
88 "lib" : [" ES2022" ],
9- "moduleResolution" : " node16 " ,
9+ "moduleResolution" : " Node " ,
1010 "rootDir" : " ." ,
1111 "outDir" : " build" ,
1212 "allowSyntheticDefaultImports" : true ,
You can’t perform that action at this time.
0 commit comments