Skip to content

Instantly share code, notes, and snippets.

@jroberayalas
Last active August 2, 2017 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jroberayalas/4faddbb23378655561284242695515e0 to your computer and use it in GitHub Desktop.
Save jroberayalas/4faddbb23378655561284242695515e0 to your computer and use it in GitHub Desktop.
url <- first_result %>% html_node("a") %>% html_attr("href")
url
#> [1] "https://www.buzzfeed.com/andrewkaczynski/in-2002-donald-trump-said-he-supported-invading-iraq-on-the"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment