Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to urllib3

>>> import urllib3
>>> http = urllib3.PoolManager()
>>> r = http.request('GET', 'http://httpbin.org/robots.txt')
>>> r.status
200
>>> r.data
'User-agent: *
Disallow: /deny
'
Source by urllib3.readthedocs.io #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+9 =