Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[第 83 期]【爬虫案例】用python爬虫保存美国农业部网站上的水果【证件照】 #886

Open
jwenjian opened this issue Oct 4, 2019 · 0 comments

Comments

@jwenjian
Copy link

jwenjian commented Oct 4, 2019

导语

美国农业部为全世界已知水果制作了 7500 幅水彩「证件照」并提供高清下载,链接在这里

草莓

这次的爬虫的目的是保存这些证件照到本地磁盘。

分析

原页面共收录了7584张图片,分为380页,每页20条。

第一页的链接: https://usdawatercolors.nal.usda.gov/pom/search.xhtml?start=0
第二页的链接: https://usdawatercolors.nal.usda.gov/pom/search.xhtml?start=20
...
以此类推,还是比较简单的。


原文 -> jwenjian/ghiblog#114
掘金 -> https://juejin.im/post/5d96b764e51d4578436f5263
爬虫项目仓库 -> https://github.com/jwenjian/usda-fruit-img-spider

@ruanyf ruanyf changed the title 【爬虫案例】用python爬虫保存美国农业部网站上的水果【证件照】 [第 83 期]【爬虫案例】用python爬虫保存美国农业部网站上的水果【证件照】 Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant