Skip to content

fatsoap/Novel-Web-Spider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📒 使用套件

  1. Cheer io → html parser
  2. request 或是 axios → http request package
  3. fs → file system

Learned

  1. process.argv

接收網址用

  1. process.stdout.write('\r[... ] 5/10')

利用 process stdout 實現漸進式下載條

🐱 部屬到 Github

  1. repo 設為 public
  2. 設定好 .gitignore
    1. node_modules/
    2. 下載到的資料夾
  3. 加入 README .md
    1. 用 png 或是 gif 來 Demo
    2. 使用範例
    3. 使用套件
    4. 參考資料

使用方式

  1. clone repo & install package
git clone xxx
npm install
  1. run script with novel url
node index.js http://xxxx.xxx.xxx
  1. got novel in library folder !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published