Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Accessing chrome extension

by gyoi (Initiate)
on Oct 14, 2012 at 09:06 UTC ( #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

Comment on Accessing chrome extension
Re: Accessing chrome extension
by marto (Chancellor) 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
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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-10-22 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls