-
Notifications
You must be signed in to change notification settings - Fork 7
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
clpallette broken #14
Comments
I think there was a change in the API. |
The code fails on this line: p <- xmlParse(response, options = XML::NOCDATA) in R/clQuery.R |
This is a quick fix in file clQuery.r Reason: Seems Cloudflare does not allow Curl to access the api.
@andrewheiss, maybe you can add this one? |
Sorry but no. It is not a user_agent problem. It is colourlovers that returns misformed xml. |
It is colourlovers api that ask for a captcha |
I have solved this problem and created a PR! |
Now it works. Until the PR is accepted, you can use my version: devtools::install_github("martinmspedersen/colourlovers")
library(colourlovers)
clpalette('1')
|
Thanks for figuring this out! |
New problem and a fix: |
Something is wrong. I don't know if it is the API or your code. Code for
clpallete
andclpalettes
returns error codes.Thank you.
The text was updated successfully, but these errors were encountered: