I want to scape all the titles fo the result from google search.
For example, if I google 'asus', then I want to scrape all the title of the first page.
My problem is my result is empty.
The code is as below:
url = 'https://www.google.com/search?q=asus'
first_page <- read_html(url)
title = html_nodes(first_page,'h3.LC20lb.DKV0Md') %>% html_text()
The reason why I use 'h3.LC20lb.DKV0Md' because I inspect the source code like below figure enter image description here