IT기술, 프로그래밍/python

crawling 기초 requests 사용법

뱅노 2019. 6. 23. 12:26

craling request 요청 방법은 아래와 같이 하면 됩니다.

import requests

response = requests.get('http://www.naver.com') 
html = response.text

response.text에서 html 결과 값이 나오게 됩니다.