Skip to content

Commit

Permalink
added google image (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
schochastics committed Mar 16, 2023
1 parent a639ee9 commit 3ef6494
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Binary file modified R/sysdata.rda
Binary file not shown.
12 changes: 11 additions & 1 deletion data-raw/selectors.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand Down

0 comments on commit 3ef6494

Please sign in to comment.