CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 11:53:31 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091216090533
location: https://web.archive.org/web/20091216090533/https://wiki.python.org/moin/WebClientProgramming
server-timing: captures_list;dur=0.577409, exclusion.robots;dur=0.018203, exclusion.robots.policy;dur=0.007747, esindex;dur=0.010026, cdx.remote;dur=53.278323, LoadShardBlock;dur=509.844296, PetaboxLoader3.resolve;dur=313.551127, PetaboxLoader3.datanode;dur=82.578618
x-app-server: wwwb-app239
x-ts: 302
x-tr: 596
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app239; 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: Sat, 19 Jul 2025 11:53:32 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Wed, 16 Dec 2009 09:05:33 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, 16 Dec 2009 09:05:33 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="Sat, 06 Jun 2009 00:09:24 GMT", ; rel="memento"; datetime="Wed, 16 Dec 2009 09:05:33 GMT", ; rel="next memento"; datetime="Wed, 20 Jan 2010 08:57:12 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_20091216090121_crawl102-c/51_13_20091216090131_crawl103.arc.gz
server-timing: captures_list;dur=1.477220, exclusion.robots;dur=0.062365, exclusion.robots.policy;dur=0.008683, esindex;dur=0.018066, cdx.remote;dur=42.397464, LoadShardBlock;dur=246.426261, PetaboxLoader3.datanode;dur=135.084993, PetaboxLoader3.resolve;dur=227.655696, load_resource;dur=173.704473
x-app-server: wwwb-app239
x-ts: 200
x-tr: 554
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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)