-
Notifications
You must be signed in to change notification settings - Fork 32
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
url_parse
does not parse correctly with google maps url
#98
Comments
I don't think so? Google's URLs are...very much not one's friend :(. One way of fixing it might be to url_encode the path for the parsing operation? How consistent are the URL portions /before/ the path? |
{curlparse} handles this if you need something in the interim. dplyr::glimpse(
curlparse::parse_curl("https://www.google.com/maps/place/Pennsylvania+Station/@40.7519848,-74.0015045,14.7z/data=!4m5!3m4!1s0x89c259ae15b2adcb:0x7955420634fd7eba!8m2!3d40.750568!4d-73.993519")
)
|
My current, hacky, way to deal with this is to manipulate the URL before applying urltools:
So it seems that the |
or you could just use that |
@hrbrmstr because I also need the I see that your other package |
Hi, thanks for developing the package. I realized that url_parse (and all of the other functions dependent on it) act strangely to google map urls.
Can this be fixed? Thanks!
The text was updated successfully, but these errors were encountered: