Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Fetch generated source

by Ovid (Cardinal)
on Oct 23, 2011 at 10:20 UTC ( [id://933185]=note: print w/replies, xml ) Need Help??


in reply to Fetch generated source

First, check the terms and conditions for the Webs site you're concerned about. If they allow this behavior, most modern browsers give you tools to track the AJAX calls. In this case, I used Chrome, right-clicked on the window and chose "Inspect Element" (or "alt-cmd-i"). From there, click the "Network" tab and make your search and you'll see the traffic.

When I searched for "Perl", I saw a GET request was issues to this search URL and it returned an easily parseable XML document. From there, it's up to you.

Replies are listed 'Best First'.
Re^2: Fetch generated source
by mrguy123 (Hermit) on Oct 23, 2011 at 11:53 UTC
    Thanks for the tip. I had found this URL before but tried to access it after percent decoding it which was the wrong way to go.
    I hope this method will also help me with other sites

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2024-03-28 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found