Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Re: suck on www::mechanize question

by smackdab (Pilgrim)
on Mar 01, 2004 at 05:44 UTC ( #332792=note: print w/replies, xml ) Need Help??

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)...

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 ;-(

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://332792]
[hippo]: That's some Joycean spam.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2018-05-22 12:24 GMT
Find Nodes?
    Voting Booth?