title: Retrieve whole lyrics from URL
body: <p>I am trying to retrieve the whole lyrics of a band from the web.
  I have noticed that they build URLs using <code>".../firstletter/bandname/songname.html"</code></p>
  
  <p>Here is an example.</p>
  
  <p><a href="http://www.azlyrics.com/lyrics/acdc/itsalongwaytothetopifyouwannarocknroll.html" rel="nofollow">http://www.azlyrics.com/lyrics/acdc/itsalongwaytothetopifyouwannarocknroll.html</a></p>
  
  <p>I was thinkining about creating a function that would <code>read.csv</code> the URLs.
  That part was kind of easy because I can get the titles by a simple copy paste and save as .csv. Then, use that vector to pass the function for each value in order to construct the URL name.</p>
  
  <p>But I tried to read the first one just to see what it looks like and I found that there will be too much "cleaning the data" if my goal is to build a csv file with each lyric.</p>
  
  <pre><code>x &lt;-read.csv(url("http://www.azlyrics.com/lyrics/acdc/itsalongwaytothetopifyouwannarocknroll.html"))  
  </code></pre>
  
  <p>I think my approach is not the best (or maybe I need a better data cleaning strategy)</p>