Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

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
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://332792]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-07-23 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (130 votes), past polls