firefox cache & Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • subeen

    firefox cache & Python

    Hi,

    I have got into an interesting problem. Today I found that if I type
    "about:cache?de vice=disk" (without the quotes) in the address bar of
    firefox, it displays disk cache information. Now I am thinking to
    write a Python program that will read this cache info. My initial idea
    is to somehow save the page in a file and parse it. But how to save
    the page without human intervention (pressing ctrl+s) :) ?

    Hope I could make it clear what I am trying to do...

    Any clue?

    regards,
    Subeen.

  • Gabriel Genellina

    #2
    Re: firefox cache & Python

    En Tue, 19 Feb 2008 17:44:57 -0200, subeen <tamim.shahriar @gmail.com>
    escribió:
    I have got into an interesting problem. Today I found that if I type
    "about:cache?de vice=disk" (without the quotes) in the address bar of
    firefox, it displays disk cache information. Now I am thinking to
    write a Python program that will read this cache info. My initial idea
    is to somehow save the page in a file and parse it. But how to save
    the page without human intervention (pressing ctrl+s) :) ?
    Search for "firefox automation"

    --
    Gabriel Genellina

    Comment

    • subeen

      #3
      Re: firefox cache &amp; Python

      Searching for FF automation but still no luck.

      Any other idea on how to locate the cache directory and then read the
      directory ?

      regards,
      Subeen


      On Feb 20, 3:20 am, "Gabriel Genellina" <gagsl-...@yahoo.com.a r>
      wrote:
      >
      Search for "firefox automation"
      >
      --
      Gabriel Genellina

      Comment

      Working...