We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With rvest 0.2 there seems to be a problem with the following simple looking site
url <- "http://stateoftheunion.onetwothree.net/texts/index.html" sess <- html_session(url) form <- html_form(html(url)) %>%.[[1]] %>% set_values(query="freedom")
This generates the form
<form> '<unnamed>' (GET ../search/search.php) <input text> 'query': freedom <input submit> 'submit': Search <input hidden> 'search': 1
which is fine, but
submit_form(sess, form)
generates
Error: length(url) == 1 is not TRUE
And it's true. url turns into a three element vector right after the build_url call shown in the screenshot here:
url
build_url
The text was updated successfully, but these errors were encountered:
8874e27
No branches or pull requests
With rvest 0.2 there seems to be a problem with the following simple looking site
This generates the form
which is fine, but
generates
And it's true.
url
turns into a three element vector right after thebuild_url
call shown in the screenshot here:The text was updated successfully, but these errors were encountered: