CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 14:04:55 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100120085712
location: https://web.archive.org/web/20100120085712/https://wiki.python.org/moin/WebClientProgramming
server-timing: captures_list;dur=0.809563, exclusion.robots;dur=0.025326, exclusion.robots.policy;dur=0.011804, esindex;dur=0.016030, cdx.remote;dur=154.021094, LoadShardBlock;dur=599.694960, PetaboxLoader3.datanode;dur=155.935800, PetaboxLoader3.resolve;dur=266.401906
x-app-server: wwwb-app222
x-ts: 302
x-tr: 791
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app222; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 14:04:56 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Wed, 20 Jan 2010 08:57:12 GMT
x-archive-orig-server: Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 mod_python/3.3.1 Python/2.5.2 mod_wsgi/2.5
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-content-length: 10379
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 20 Jan 2010 08:57:12 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 22 May 2005 01:32:44 GMT", ; rel="prev memento"; datetime="Wed, 16 Dec 2009 09:05:33 GMT", ; rel="memento"; datetime="Wed, 20 Jan 2010 08:57:12 GMT", ; rel="next memento"; datetime="Wed, 10 Mar 2010 18:42:05 GMT", ; rel="last memento"; datetime="Sun, 29 Jan 2023 22:25:38 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20100120084733_crawl103_IndexOnly-c/51_13_20100120085515_crawl103.arc.gz
server-timing: captures_list;dur=0.832779, exclusion.robots;dur=0.029735, exclusion.robots.policy;dur=0.014231, esindex;dur=0.017487, cdx.remote;dur=73.674833, LoadShardBlock;dur=740.836237, PetaboxLoader3.datanode;dur=291.322177, PetaboxLoader3.resolve;dur=599.684248, load_resource;dur=355.228486
x-app-server: wwwb-app222
x-ts: 200
x-tr: 1259
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
WebClientProgramming - PythonInfo Wiki
Client-Side Web Programming
Libraries
utidylib and mxTidy -- Python interfaces to html tidy library to clean up HTML documents.
html5lib A HTML5-compliant library for parsing arbitarily-broken HTML to a range of tree formats including minidom, elementtree (including lxml) and BeautifulSoup
BeautifulSoup -- a permissive HTML parser.
Don't use HTMLParser on HTML that might be invalid! That way lies pain. Either clean it up (using tidy), or use a different parser.
ClientCookie, ClientForm, and Mechanize are higher-level libraries for writing a web client.
mechanoid a mechanize fork.
libxml2dom can parse HTML by employing libxml2's liberal HTML parser.
Resources
EditText (last edited 2009-05-13 15:49:51 by 189)