Module csscapture
source code
Retrieve all CSS stylesheets including embedded for a given URL.
Retrieve as StyleSheetList or save to disk.
- TODO:
@import
save all
maybe use DOM 3 load/save?
logger class which handles all cases when no log is given...
- saveto:
- why does urllib2 hang?
Version:
0.9.2a1, $LastChangedRevision: 263 $
Date:
$LastChangedDate: 2007-08-21 17:18:10 +0200 (Di, 21 Aug 2007)
$
Author:
$LastChangedBy: doerwalter $
Imports:
errno,
HTMLParser,
logging,
os,
sys,
urllib,
urllib2,
urlparse,
xml,
cssutils,
css,
stylesheets,
encutils