Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Accessing chrome extension

by gyoi (Initiate)
on Oct 14, 2012 at 09:06 UTC ( [id://998938]=perlquestion: print w/replies, xml ) Need Help??

gyoi has asked for the wisdom of the Perl Monks concerning the following question:

Hello everyone, I am trying to get some data from the web. I can get most of the data I need, but part of it is in a browser extension, which I am unable to read. The extension is form google chrome. When I use chrome's "Inspect Element" I can see the information I need. My questions are: 1) Is there a way in Perl to read the data of a browser extension? 2) Is there a way for me to call chrome's "Inspect Element" using perl? Thanks in advance

Replies are listed 'Best First'.
Re: Accessing chrome extension
by marto (Cardinal) on Oct 14, 2012 at 09:23 UTC
Re: Accessing chrome extension
by rpnoble419 (Pilgrim) on Oct 14, 2012 at 22:05 UTC
    You may need to try the long way around. Using the Developer tools -> Network screen, click on the "Preserve Log upon Navagation" icon. Run the extension and see what interactions the extension has with the servers. Copy these in to your Perl editor and see if you can replicate the results using LWP or one of the WWW::Mechanize modules...
      Thank you very much for your replies! both sound very promising. I think I will start with trying to run the add on from Perl and if that does not work, I will move to Firefox. Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-03-29 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found