네이버 영어사전 크롤링

22.05.13 15:03 작성 조회수 682

0

 
import requests
from bs4 import BeautifulSoup

print("검색하려는 영어 단어를 입력하세요.")
word = input()

url = "https://en.dict.naver.com/#/search?query=what"
response = requests.get(url)
response.raise_for_status()

soup = BeautifulSoup(response.text, "html.parser")
title = soup.find_all('ul',class_='mean_list')
print(title)    

이렇게 네이버 영어사전 크롤링 시도했는데 왜 안될까요ㅣ..

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!