Skip to content

Commit

Permalink
其他
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-hxl committed Jan 28, 2023
1 parent 8bc969b commit 2f18c9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "x-crawl",
"version": "0.0.1",
"author": "coderhxl",
"author": "CoderHxl",
"description": "XCrawl is a Nodejs multifunctional crawler library.",
"license": "MIT",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion publish/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "x-crawl",
"version": "0.0.1",
"author": "coderhxl",
"author": "CoderHxl",
"description": "XCrawl is a Nodejs multifunctional crawler library.",
"license": "MIT",
"keywords": [
Expand Down
16 changes: 0 additions & 16 deletions test/start/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,3 @@ async function githubDocs() {
}

// githubDocs()

// https://docs.github.com/assets/cb-262/images/octicons/search-16.svg

githubDocsXCrawl
.fetchFile({
requestConifg: {
url: 'https://docs.github.com/assets/cb-262/images/octicons/search-16.svg',
method: 'GET'
},
fileConfig: {
storeDir: path.resolve(__dirname, './upload')
}
})
.then((fileInfos) => {
console.log(fileInfos)
})

0 comments on commit 2f18c9f

Please sign in to comment.