monitor internet browser

Hi, Pythoners,

Could you please tell me some information about how to monitor internet browser? Your help will be appreciated from the buttom of my heart.
I hope to record the URLs of a webpage each time it changes, as well as the time it changes. If possible, I also hope to save a screenshot of that webpage.
Take www.citeulike.org for example, after I click a hyperlink in this web, the URL will change. I hope to record the time it changes and the URL.
Is there any library of python could do this? Thank you so much!

Jibo

···


Best Regards,

     He Jibo
   jibohe2@cyrus.psych.uiuc.edu
                       hejibo@gmail.com

He Jibo
Department of Psychology,
Beckman Institute for Advanced Science and Technology
University of Illinois, Urbana Champaign,
603 East Daniel St.,
Champaign, IL 61820
Tel: 217-244-4461(office)
217-244-6763(lab)
Email: hejibo@gmail.com

Hi Jibo,

you can try to use ie.win.IEHtmlWindow ( this is an activeX wrapper

) included into python package.

For more info and details, see docs and wxDemo… you will find the
example you need!!!

BYE!

He Jibo ha scritto:

···

//\ariano Di Felice

Java PHP Python Ruby programmer

with MySQL, PostgreSql, SQLite and Oracle support

Linux Platform Developer

Tel. 0735 703735
Cell +39 339 6407211

http://www.marianodifelice.it
mariano.difelice@gmail.com

Jibo,

  Hi, Pythoners,
  
  Could you please tell me some information about how to
monitor internet browser? Your help will be appreciated from
the buttom of my heart.
  I hope to record the URLs of a webpage each time it
changes, as well as the time it changes. If possible, I also
hope to save a screenshot of that webpage.
  Take www.citeulike.org for example, after I click a
hyperlink in this web, the URL will change. I hope to record
the time it changes and the URL.
  Is there any library of python could do this? Thank you so much!
  
  Jibo

If you're using Windows, then you could also watch the browser's cache
folder or history file for changes using these methods:

http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_cha
nges.html

I know there ways to do the same thing on Linux/Mac, but since I don't
have those, I don't know what they are.

Mike

Well Robin,
    thx for you fast response.

Do you know any method for load image in lowres? Or any library can do it?

thx
bye

Robin Dunn ha scritto:

···

Mariano Di Felice wrote:

Hello guys,
   how can I display an image in low resolution, and after, for example, 1 second, display in thread background the same image in high resolution?

I found more program that do this ( iplabs.de, myphotobook, etc ), but for python/wxPython/PIL combination?
Exists something can do that?

If you have some way to getting the lowres version (without the overhead of loading the full image and scaling it)[1] then it could probably be done, just treat them as two separate images and do things normally. You load the lowres version and show it quickly, then load the larger one and show it when it's ready. A thread can probably be used for part of the load, I think loading into a wx.Image will probably work from a background thread, but you will definitely need to be in the gui thread for converting it to a wx.Bitmap and displaying it.

--
/\/\ariano Di Felice
Java PHP Python Ruby programmer
with MySQL, PostgreSql, SQLite and Oracle support
Linux Platform Developer
http://www.marianodifelice.it
mariano.difelice@gmail.com
Tel. 0735 703735
Cell +39 339 6407211

Mariano Di Felice wrote:

Well Robin,
   thx for you fast response.

Do you know any method for load image in lowres? Or any library can do it?

I meant to mention this in my last email but forgot. I don't know specifically about options for this, but I do know that some image formats can optionally have a thumbnail as part of the file. So perhaps PIL or ImageMagik can extract those. The other option of course is to make your own thumbnail files the first time you load an image and then cache it somewhere for the next time you need to load the file.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!