Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Fetch generated source

by Ovid (Cardinal)
on Oct 23, 2011 at 10:20 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://933185]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2018-05-25 01:55 GMT
Find Nodes?
    Voting Booth?