Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Scraping AJAX?

by kelchris (Novice)
on Jan 26, 2012 at 17:40 UTC ( #950180=note: print w/replies, xml ) Need Help??


in reply to Re^2: Scraping AJAX?
in thread Scraping AJAX?

Thats because you need to get() the JSON data which contains the actual table you want to scrape. The content you are getting is only the page that contains the JS functions and there should also be the ajax link in there you can use to get the actual data.

Once you get that link, get() it then parse the data from there.

Replies are listed 'Best First'.
Re^4: Scraping AJAX?
by Dave_COS (Initiate) on Jan 26, 2012 at 19:03 UTC

    Forgive me again if this is answered elsewhere --

    Is there a way to do this on a headless system? firefox insists on a display....

    System: Ubuntu server 10.04

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950180]
help
Chatterbox?
and a moth chases the moon...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-12-03 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (51 votes). Check out past polls.