-
카테고리
-
세부 분야
데이터 분석
-
해결 여부
미해결
스크레핑이 안되는 사이트 인가요?
21.05.08 16:02 작성 조회수 128
0
이웹 저웹 돌아다니면서
재미있게 공부 하는 중인데
이사이트는 아예 안되는 것 같은데
해결방법이 있는건지요?
import sys
import io
sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8')
from bs4 import BeautifulSoup
import urllib.request as req
url= "http://land.mpsrb.com/offer/?cateid_group=0000&trade=2&areaid=001208"
res = req.urlopen(url).read()
soup= BeautifulSoup(res,"html.parser")
print(">>", soup)
답변을 작성해보세요.
0
0
답변 2