IMDB Top250 movies
IMDB Top250 movies
如果对爬虫感兴趣,可以看 scripts
下面的代码,movies.json 中的数据分别来自于:
index.js
douban.js
和 fetchPic.js
fetchDownload.js
由于网站有访问次数限制,所以定时 5s 取一次数据,但是有时候依然会失败,没关系,等 job 跑完继续跑一次即可,建议分多次爬取数据。
# install dependencies
npm install / yarn install
# serve with hot reload at localhost:8080
npm run dev / npm start
# build for production with minification
npm run build
MIT