import requests

r = requests.get('https://api.github.com/events')
r.json()
r.encoding
r.text

r = requests.get('http://github.com')
r.url
r.history


r = requests.get('http://github.com', allow_redirects=False)

requests.get('http://github.com', timeout=0.001)


url = "http://www.heibanke.com/lesson/crawler_ex01/"
params = {'username':'heibanke','password': '10'}
r = requests.post(url,data=params)


@@ -102,35 +102,40 @@
 quests.get('http
+s
 ://
+www.
 github.com')%0Ar.u
@@ -163,35 +163,40 @@
 quests.get('http
+s
 ://
+www.
 github.com', all
@@ -234,19 +234,24 @@
 et('http
+s
 ://
+www.
 github.c

Update crawler_requests.py