Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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.


Comment on Re: Fetch generated source
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
Node Status?
node history
Node Type: note [id://933185]
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-12-27 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls