要抓取NASA最近公布的8400多张照片的原始图片链接地址,谁会?
发布于 9 年前 作者 inosqlorg 5215 次浏览 最后一次编辑是 8 年前 来自 问答
6 回复

竟是 css background-image 实现

我会,加qq511363759

request库啊 自豪地采用 CNodeJS ionic

request加cherio,自行百度 自豪地采用 CNodeJS ionic

很简单啊, request + cheerio 如果request不行,就换phantomjs 试试

看了下,api地址是json的格式,改个参数可以随便获取

{"photos":{"page":1,"pages":26,"perpage":500,"total":"12588","photo":[{"id":"22012610182","owner":"136485307@N06","secret":"63e942a92d","server":"5729","farm":6,"title":"The Project Apollo Archive is best experienced in the \"Albums\" view","ispublic":1,"isfriend":0,"isfamily":0,"safe":0,"url_o":"https:\/\/farm6.staticflickr.com\/5729\/22012610182_ce88b0f8dc_o.jpg","url_o_cdn":"https:\/\/c2.staticflickr.com\/6\/5729\/22012610182_ce88b0f8dc_o.jpg","height_o":"768","width_o":"1024"},{"id":"21993114466","owner":"136485307@N06","secret":"e91f8be372","server":"587","farm":1,"title":"AS15-97-13298","ispublic":1,"isfriend":0,"isfamily":0,"safe":0,"url_o":"https:\/\/farm1.staticflickr.com\/587\/21993114466_175a506274_o.jpg","url_o_cdn":"https:\/\/c1.staticflickr.com\/1\/587\/21993114466_175a506274_o.jpg","height_o":"4600","width_o":"4400"}...
回到顶部