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

Allow to set timeout for read_html_live #427

Open
LukasWallrich opened this issue Oct 21, 2024 · 3 comments
Open

Allow to set timeout for read_html_live #427

LukasWallrich opened this issue Oct 21, 2024 · 3 comments
Labels
feature a feature request or enhancement live 🐤

Comments

@LukasWallrich
Copy link

Thanks for keeping on building the package - read_html_live is a great addition! However - and maybe I am missing something in the documentation - is there a way to increase the timeout for read_html_live? I have found no way to configure the chromote session, and the default fails too fast when routing requests through proxies.

@LukasWallrich
Copy link
Author

Just figured out that it can be done for chromote (though not very conveniently either) - rstudio/chromote#155 - but it might be helpful to link to chromote settings from the read_html_live docs?

@hadley hadley added feature a feature request or enhancement live 🐤 labels Oct 21, 2024
@hadley
Copy link
Member

hadley commented Oct 21, 2024

I think we can add an explicit argument. Is this specifically about opening the page for the first time?

@LukasWallrich
Copy link
Author

LukasWallrich commented Oct 21, 2024

Yes - ScrapeOps for example recommends a 120 sec timeout to give them time to find a proxy that is accepted by the webpage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement live 🐤
Projects
None yet
Development

No branches or pull requests

2 participants