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

gtrendsR behind a corporate PROXY with NTLM authentication #245

Closed
VictorYammouni opened this issue Dec 21, 2017 · 2 comments
Closed

gtrendsR behind a corporate PROXY with NTLM authentication #245

VictorYammouni opened this issue Dec 21, 2017 · 2 comments

Comments

@VictorYammouni
Copy link
Contributor

Hello

I need to use gtrendsR behind a PROXY. I modified the source code and added an additional parameter to the gtrends function. This parameter allow to specify my own curl handle with spécific PROXY paramaters.

I don't know if it is the right method, but it works fine.
Do you have another method, or an advise ?

Thanks

@amrrs
Copy link

amrrs commented Jan 9, 2018

Alternatively, you can add proxy on top your RStudio with .Renviron file so that any request going through your RStudio.

@gabrielgiorisatto
Copy link

I'm having the same problem when running:

library(gtrendsR)
res <- gtrends(c("nhl", "nba"), geo = c("CA", "US"))
Error in curl::curl_fetch_memory(url) :
schannel: failed to receive handshake, SSL/TLS connection failed

I tried to follow @amrrs tip, but it seems that curl does not support HTTPS PROXY
@VictorYammouni , how did you solve? Can you explain more?

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