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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file webpage-0.1.tar.gz
.
File metadata
- Download URL: webpage-0.1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbce72c642ad80a6372e374ba9eab95bbf323e6b9bb8233c6bbe2bc5a05a509d |
|
MD5 | fcf5be8555aa859724ec4b3306a9f082 |
|
BLAKE2b-256 | 937c2f68ee52498829387f4d42ff99817c71a6e80822484d6c89f6d66f1a8eb1 |
File details
Details for the file webpage-0.1.tar.bz2
.
File metadata
- Download URL: webpage-0.1.tar.bz2
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3dc5e2132558aa2ae84e198ea022f85c3e036e0625dd7967b8644d173b628ec |
|
MD5 | 2e450d0b51231ab8f705818340c8eb53 |
|
BLAKE2b-256 | 49a76b276ba174559145dd559e69c8bcf978bc5230b4aa8944555188300b8407 |