从RVest谷歌图片搜索提取URL

时间:2019-01-31 13:35:11

标签: image url web-scraping rvest google-image-search

我想下载从谷歌图片搜索的网址,但我只得到了几个网址,并只为小图片。关于如何获得指向多个页面和大图片的链接的任何建议?

我当前(缺乏光泽)的解决方案:

link %>%
  read_html() %>%
  html_nodes(xpath = "//img") %>%
  html_attr("src")

0 个答案:

没有答案