goto
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'
Metadata
Release files for goto 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| goto-0.1.3.tar.gz | 7.2 kB | Details |
Release files / goto-0.1.3.tar.gz
| Download URL | goto-0.1.3.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50c26e9cedb822f9d413217525ca921f981feea2cc0209bc27047e1edcd69d70
|
|
BLAKE2b-256 checksum How to use checksums |
24b512814d5951e82253e9936eccac77c2f058cb2dcee1c4219efef82408df5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |