Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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]
[marioroy]: choroba++, Discipulus++. It depends on the type of module. Data-type "only" modules are likely multi-process safe, re: Hash::Ordered, Tie::IxHash.
[marioroy]: ... when shared via MCE::Share-> share(...)
[marioroy]: Net type modules are likely not multi-process safe unless stated in the documentation.
[marioroy]: The Prima author fixed his module to be both thread and multi-process safe. Thanks Dmitry.
[marioroy]: Of all the GUI-type modules, Prima was the worst regarding thread/multi- process safety. Now, it's the best for safety. ;-)
[marioroy]: Tk, Gtk2, Gtk3 requires extra care.
[marioroy]: I was unable to run parallel with Win32::Console. Fortunately, running parallel behind Win32::API is possible.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-09-22 10:16 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (260 votes). Check out past polls.