V2EX 最近的文章, 登录, 注销接口 配合 V2EX_Crawler Python Scrapy 爬虫抓取数据
- Node 6.x
- MongoDB or mlab
- 配置本地 MongoDB 或者 mlab, 替换
mongodb://xxxx/v2ex
为你本地或者 mlab 的 URI cd V2EX_Nodejs
node index.js
已经部署在 Heroku
- 最近的文章 GET : https://v2ex-node.herokuapp.com/recent?page=1
- 登录 & 获取用户信息 POST : https://v2ex-node.herokuapp.com/signin
- body :
- username
- password
- body :
- 登出 GET : https://v2ex-node.herokuapp.com/signout?once=566
使用 云 MongoDB mlab
Email : iShawnWang2333@gmail.com
Weibo : 王大屁帅2333
V2EX_Nodejs is released under the GPL v3.0 license. See LICENSE for details.