Ok, so what I am trying to do is to get a list of top tags for an artist from Last.FM web API by parsing XML file it returns for my request using rvest.
However, when I am trying to get contents of the XML, I get this error:
html("http://ws.audioscrobbler.com/2.0/?method=artist.getTopTags&artist=artistname&api_key=apikey")
Error in function (type, msg, asError = TRUE) : Empty reply from server
I tried using different functions from different packages for parsing (getURL, readWeb), but all artist.get methods return empty reply. However, accessing that very URL for API request in browser works just fine. Also, user.get methods work just as fine.
What might cause this? Do I have to look for troubles on my side? Is it rvest? Last.FM?