diff --git a/R/sysdata.rda b/R/sysdata.rda index 1cb9e38..c60e144 100644 Binary files a/R/sysdata.rda and b/R/sysdata.rda differ diff --git a/data-raw/selectors.R b/data-raw/selectors.R index 20f10eb..f2a0f83 100644 --- a/data-raw/selectors.R +++ b/data-raw/selectors.R @@ -19,9 +19,19 @@ google_news = list( page = c("td.YyVfkd","text") ) +# google images ---- +google_images = list( + results = c("div.isv-r.PNCib.MSM1fd.BUooTd","text"), + title = c("h3","text"), + link = c("a.VFACy","link"), + text = c("div.dmeZbb","text"), + image = c("div.bRMDJf > img","src") +) + selectors <- list( "google text" = google_text, - "google news" = google_news + "google news" = google_news, + "google images" = google_images )