Module csscapture
source code
Retrieve all CSS stylesheets including embedded for a given URL.
Retrieve as StyleSheetList or save to disk - raw, parsed or minified version.
TODO:
- maybe use DOM 3 load/save?
- logger class which handles all cases when no log is given...
- saveto: why does urllib2 hang?
Version:
$LastChangedRevision: 950 $
Date:
$LastChangedDate: 2008-01-27 17:28:41 +0100 (So, 27 Jan 2008) $
Author:
$LastChangedBy: cthedot $
Imports:
codecs,
errno,
HTMLParser,
logging,
os,
sys,
urllib2,
urlparse,
cssutils,
encutils