| Server IP : 35.80.110.71 / Your IP : 216.73.216.52 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/css_parser/scripts/__pycache__/ |
Upload File : |
�
��3e� � � � d Z ddlmZmZmZmZ dgZdZdZddl m
Z
ddlZddlZddl
Z
d
d�Zed k( r e
j e� � yy)a 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?
� )�unicode_literals�division�absolute_import�print_function�
CSSCapture�restructuredtextz$Id$)r Nc
�l � d}t j |�� }|j ddddd�� |j d d
ddd�� |j d
dddd�� |j ddddd�� |j ddddd�� |j � \ }}d|_ |s|j d� n|d }|j rt j }nt j }t |j |�� }|j |� }|j �|j sD|j r
|j }nd}|j ||j |j �� y t! |� D ]<