Viser les requêtes du maître de bibliothèque python (18)

[Description de la bibliothèque]

L'analyse HTTP est possible

【programme】

requests.py


# -*- coding: utf-8 -*-

import requests

r = requests.get('http://qiita.com/')
print r.status_code
# 200
 
print r.headers['content-type']
# text/html; charset=utf-8
 
print r.encoding
# utf-8

print r.text.encode('utf-8')
# <!DOCTYPE html><html...

[Site de référence]

pypi

Recommended Posts

Viser les requêtes du maître de bibliothèque python (18)
Aim Python Library Master (48) Autopep8
Aim Python Library Master (36) json2html
Aim Python Library Master (49) psidialogs
Aim Python Library Master (26) easyxml
Aim python library master (29) table_printer
Espaces de noms Aim Python Library Master (55)
AIM Python Library Master (46) BrowserPlus
Aim Python Library Master (30) Chronyk
AIM Python Library Master (3) Workalendar
Aim Python Library Master (42) Speedrecorder
Aim Python Library Master (37) Slimurl
Aim Python Library Master (44) pynetviz
Aim Python Library Master (8) Rolex
Aim Python Library Master (52) Marktime
Aim Python Library Master (21) hy
Aim Python Library Master (13) Easydev
Aim Python Library Master (20) Pyyaml
Aim Python Library Master (34) simultané
Viser la segmentation de mots du maître de la bibliothèque python
Aim Python Library Master (43) cpmoptimize
Aim Python Library Master (68) pazudorasolver
Aim Python Library Master (58) Faker
Aim Python Library Master (11) nlist
Aimez le maître de la bibliothèque python (38) beautiful_print
Aim Python Library Master (65) Geopy
Aim Python Library Master (2) Vincenty
Journal de bord Aim Python Library Master (59)
Aim Python Library Master (51) Pyautogui
Aim Python Library Master (10) Timeit
Aim Python Library Master (0) Liens
Aim Python Library Master (66) youtube-dl
Aim Python Library Master (53) psutil
Aim Python Library Master (22) HTMltag
Aim Python Library Master (67) httpie
Aim Python Library Master (45) xlsxwriter
Aim Python Library Master (9) WebHelpers
Aim Python Library Master (32) SQL
Aim Python Library Master (60) Colourettu
Viser maître de la bibliothèque python (64) pretty_cron
Aim Python Library Master (56) colorthief
Aim Python Library Master (61) recherche imbriquée
Aim Python Library Master (17) Rangeparser
Aim Python Library Master (47) Deckor
Aim Python Library Master (25) Orderset
Viser le maître de la bibliothèque python (62)
Aim Python Library Master (12) Excel
Aim Python Library Master (24) combi
Aim Python Library Master (63) EasyGui
Aim Python Library Master (19) Riemann
Aim Python Library Master (39) Goless
Aim Python Library Master (54) tqdm
Aim Python Library Master (16) byteplay
Aim Python Library Master (23) memory_utils
AIM Python Library Master (27) Benchit
Visez le maître de la bibliothèque python (35) pywildcard
Aim Python Library Master (14) Pyknon
Aim Python Library Master (15) Brute
Aim Python Library Master (50) xlwings
Aim Python Library Master (31) Adipy
Aim Python Library Master (57) Browsergui