in reply to Re: suck on www::mechanize question
in thread can't get www::mechanize to work on a web site

strange, this part works manually for me: (overall it still doesn't grab the lyrics though)...

http://display.lyrics.astraweb.com:2000/display.cgi?beatles..beatles_1..hey_jude

So you got the search results to be correct then?
  • Comment on Re: Re: suck on www::mechanize question

Replies are listed 'Best First'.
Re: Re: Re: suck on www::mechanize question
by Roger (Parson) on Mar 01, 2004 at 06:01 UTC
    My company has a firewall running, may be that has something to do with forbidden access. I will try again when I go home later on my own ISP and see if I get the same error. I am guessing that you might be looking for some regex to extract the song lyrics? ... If so, could you post some HTML on your notepad and state which part you want to get extracted?

      I don't even have that problem yet ;-)

      There are 2 parts to get the lyrics for a song:
      1) Search for the one/multi matches on the song title
      which returns a list of possible matches
      2) Find the link that matches the song title
      and follow that link to the lyrics page
      3) Parse and save the lyrics

      Step 1 works, but 2 fails ;-(