Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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]
[oiskuu]: Someone needs to re-read How do I use the power of consideration responsibly? carefully. Consideration is not intended for stamping out humor, AFAIK.
[oiskuu]: E.g. Re^3: Big thank you to the Perl community. is surely dry humor (not mine). Don't they teach humor in german schools!?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-04-27 19:46 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (512 votes). Check out past polls.