Skip to content

簡易爬蟲 抓取 開眼電影網 近期上映電影 使用Node.js

License

Notifications You must be signed in to change notification settings

twtrubiks/movie-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

movie-crawler

簡易爬蟲 抓取 開眼電影網 近期上映電影 使用Node.js
使用遞迴的方式抓取資料

特色

安裝套件

請先在電腦安裝 Node.js
由於有使用到 fs 、request、cheerio
所以請記得安裝,使用cmd輸入以下指令

npm install fs  request cheerio

執行範例

node movie-crawler.js

執行過程

alt tag

輸出格式 ( JSON )

"movie": 電影名稱,
"url": 電影網址,
"descri": 電影簡介,
"infor": 上映日期(影片長度)

movie_result.json
alt tag

執行環境

  • Windows 8.1
  • node 4.4.3

License

MIT license

About

簡易爬蟲 抓取 開眼電影網 近期上映電影 使用Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published