Urllib object wrapper
Project description
Installation
$ pip install goto
Usage
>>> import goto >>> page = goto('рег.рф') >>> page.code 200 >>> page.body[:25] '\n\n\n<!DOCTYPE html PUBLIC ' >>> page.mime 'text/html' >>> page.charset 'windows-1251' >>> page.ubody[:25] u'\n\n\n<!DOCTYPE html PUBLIC ' >>> page.headers['content-encoding'] 'gzip' >>> str(page.cookies)[:20] '<cookielib.CookieJar'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
goto-0.1.3.tar.gz
(7.2 kB
view details)
File details
Details for the file goto-0.1.3.tar.gz
.
File metadata
- Download URL: goto-0.1.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50c26e9cedb822f9d413217525ca921f981feea2cc0209bc27047e1edcd69d70 |
|
MD5 | f93199b783d0a91e879f3c606952f2c9 |
|
BLAKE2b-256 | 24b512814d5951e82253e9936eccac77c2f058cb2dcee1c4219efef82408df5a |