Skip to content

Commit

Permalink
支持堆糖网专辑批量下载
Browse files Browse the repository at this point in the history
  • Loading branch information
staugur committed Jun 26, 2018
1 parent f97d03e commit b5fe8a7
Show file tree
Hide file tree
Showing 5 changed files with 302 additions and 4 deletions.
12 changes: 10 additions & 2 deletions README.md
@@ -1,5 +1,5 @@
# grab_huaban_board
花瓣网多用户多画板爬虫
批量下载花瓣网画板、堆糖网专辑


## 解析
Expand Down Expand Up @@ -40,12 +40,20 @@ optional arguments:
* 详细使用文档请参考: [https://www.saintic.com/blog/204.html](https://www.saintic.com/blog/204.html "https://www.saintic.com/blog/204.html")


### for JavaScript
### for JavaScript(花瓣)

* 详细使用文档请参考:[https://www.saintic.com/blog/256.html](https://www.saintic.com/blog/256.html "https://www.saintic.com/blog/256.html")

* 油猴脚本主页及安装地址:[请点击我](https://greasyfork.org/zh-CN/scripts/368427-%E8%8A%B1%E7%93%A3%E7%BD%91%E4%B8%8B%E8%BD%BD "请点击我")


### for JavaScript(堆糖)

* 详细使用文档请参考:[https://www.saintic.com/blog/259.html](https://www.saintic.com/blog/259.html "https://www.saintic.com/blog/259.html")

* 油猴脚本主页及安装地址:[请点击我](https://greasyfork.org/zh-CN/scripts/369840-%E5%A0%86%E7%B3%96%E7%BD%91%E4%B8%8B%E8%BD%BD "请点击我")


## TODO
1. --board_ids 多画板
2. --user_ids 多用户
Expand Down
Binary file added Snapshot/duitang.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions analyze.txt
@@ -1,4 +1,4 @@


一、对于python

模仿ajax请求(header)
Expand Down Expand Up @@ -54,4 +54,5 @@ get 返回 json ['user']
直接获取url中board_id,使用ajax访问首页及加载后续页即可获取所有json数据,拼接imgUrl通过不同下载方式保存图片即可。



三、堆糖网
利用ajax获取其接口数据,主要参数album_id,limit,start。

0 comments on commit b5fe8a7

Please sign in to comment.