Yoong Jin Lim
Yoong Jin Lim

Reputation: 1

How to export IE cookies using perl?

I know that there is a option within Internet Explorer that I could use the manually export cookies. However, is it possible to have a Perl script to automate IE to export cookies to a text file or by using command shell?

I'm using Internet Explorer 11 for Windows 7. Thanks in advance!

Upvotes: 0

Views: 120

Answers (1)

brian d foy
brian d foy

Reputation: 132896

I haven't tried it with Internet Explorer, but when I've had to do this task for other browsers, I found the file that the cookies are already in and parsed that directly. It's why there are so many HTTP::Cookies::* modules in my CPAN account.

There are also various Win32 modules to let you control Windows applications from Perl through the Windows APIs. I made a list of some examples that use Win32::OLE, for instance. There's one that plays Minesweeper for you!

Upvotes: 1

Related Questions