lord63
lord63
### 本次 PR 内容 * 增加了cookie检查机制,失败了一会发送通知
Add filename in error when have invalid metadata, so user can know which page has invalid metadata, see #129
## problem when invalid metadata in page, `simiki g` will failed with the following error message: ``` Traceback (most recent call last): File "path/venv/bin/simiki", line 11, in sys.exit(main()) File "path/venv/lib/python2.7/site-packages/simiki/cli.py",...
This pr add example usage for the lib, hope it helps.
由于爬虫的爬取策略是从热门歌单里爬,有些播放数很高的歌单可能没有出现,从而遗漏了它们。应当提供方便的途径让用户反馈这些歌单。
爬虫有状况什么的起码要有机制来提醒我跪了。。。
发现歌单的 api 为:`http://music.163.com/api/playlist/detail?id=[songlist_id]` - 歌单名字 `result["name"]` - 歌单 tag `result["tags"]` - 播放数 `result["playCount"]` - 收藏数 `result["subscribedCount"]` - 评论数 `result["commentCount"]` - 分享数 `result["shareCount"]`
前后端分离
爬虫爬取数据,flask 暴露 API 接口,前端交给 JS 。 _(:3