Skip to content
New issue

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

Add the ability to modify the UA #46

Closed
Ironholds opened this issue Dec 26, 2014 · 4 comments
Closed

Add the ability to modify the UA #46

Ironholds opened this issue Dec 26, 2014 · 4 comments

Comments

@Ironholds
Copy link

Enhancement idea: the ability to modify the utilised UA, to point to the actual scraper project, would be great.

@hadley
Copy link
Member

hadley commented Dec 28, 2014

Maybe html() should pass on ... to httr::GET()?

@Ironholds
Copy link
Author

Makes sense to me; that'd also indirectly give access to things like timeout options. I'll write up a quick patch now.

@glfeng318
Copy link

change the global option: options()$HTTPUserAgent ?

@Ironholds
Copy link
Author

Which is more obfuscated, not in keeping with the stylings of httr and related packages, and requires changing the global settings for that session each time.

@hadley hadley closed this as completed in 4d5a242 Dec 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants