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
Re: Accessing chrome extension
by marto (Cardinal) on Oct 14, 2012 at 09:23 UTC
|
| [reply] [Watch: Dir/Any] |
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... | [reply] [Watch: Dir/Any] |
|
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
| [reply] [Watch: Dir/Any] |
|