Skip to main content

Webpage Download in Python

Project description

Webpage is a Python module that offers an easy, fast, object-oriented way of fetching the contents of a web resource, using common HTTP web services. It handles etags, last-modified dates, HTTP GET and POST, temporary and permanent redirects, and Not Found errors.

All behind the scenes, as the programmer only has to worry about instantiating the “Webpage” class by providing a URL, calling the “post” and/or the “get” method if he wants, and then calling the “download” method that returns the contents of the page.

The programmer doesn’t need to care about the page being moved, temporarily or permanently, or even whether the contents of the page have not changed since his last download, so they were not downloaded again for the sake of speed. The “download” method of “Webpage” always and reliably returns what the programmer needs: the actual contents.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

webpage-0.1.tar.gz (14.1 kB view hashes)

Uploaded Source

webpage-0.1.tar.bz2 (12.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page